From fdb951576ff642d160bd66cba82179fa2ca247d7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 8 Feb 2016 12:53:07 -0500 Subject: redid notes to make them self-contained and local --- design/templates/admin/notes/change_form.html | 19 +++++++++++++++++++ design/templates/archives/notes.html | 6 +++--- design/templates/details/note.html | 6 +++--- 3 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 design/templates/admin/notes/change_form.html (limited to 'design') diff --git a/design/templates/admin/notes/change_form.html b/design/templates/admin/notes/change_form.html new file mode 100644 index 0000000..3d97a4f --- /dev/null +++ b/design/templates/admin/notes/change_form.html @@ -0,0 +1,19 @@ +{% extends "admin/change_form.html" %} +{% load i18n admin_urls %} +{% block content %} + Get Location + {{block.super}} +{% endblock %} +{% block object-tools-items %} +
  • + Get Location +
  • +
  • + {% trans "History" %} +
  • + {% if has_absolute_url %} +
  • + {% trans "View on site" %} +
  • + {% endif %} +{% endblock %} diff --git a/design/templates/archives/notes.html b/design/templates/archives/notes.html index 4ee5269..ed2a7be 100644 --- a/design/templates/archives/notes.html +++ b/design/templates/archives/notes.html @@ -16,7 +16,7 @@

    {{object.title|safe|amp|smartypants}}

    - {{object.render|safe|amp|smartypants|urlizetrunc:45 }} + {{object.body_html|safe|amp|smartypants|urlizetrunc:45 }}
    @@ -24,11 +24,11 @@