diff --git a/web/templates/entry_view.html b/web/templates/entry_view.html index 908fadc..eaa624c 100644 --- a/web/templates/entry_view.html +++ b/web/templates/entry_view.html @@ -3,56 +3,85 @@ {% block body_class %}themed-bg{% endblock %} {% block content %} -
- +
+ +
- ← Back to Results - #{{ entry.id }} + ← Back to Search + {% if count %} + {{ position }} of {{ count }} + {% endif %}
- Next + +
+ + +
- - - Edit + {% if user.is_authenticated and user.is_staff %} + Edit + {% endif %}
- -
-
- -
{{ entry.subject|default:"—" }}
+ +
+ +
+ {% if subject_list %} + {% for s in subject_list %} + {{ s }} + {% endfor %} + {% else %} + (no subject) + {% endif %}
-
- -
{{ entry.illustration|linebreaksbr|default:"—" }}
-
- -
- -
{{ entry.application|linebreaksbr|default:"—" }}
-
- - -
-
-
Scripture
-
{{ entry.scripture_raw|default:"—" }}
+ +
+ +
+ {{ entry.illustration|linebreaksbr|default:"—" }}
+
- + +
+ +
+ {{ entry.application|linebreaksbr|default:"—" }} +
+
+ + +
Source
@@ -60,9 +89,8 @@ {% with s=entry.source|default:"" %} {% with sl=s|lower|cut:" " %} {% if - sl|slice:":2" == "w " or sl|startswith:"w" or - sl|slice:":2" == "wp" or sl|slice:":2" == "ws" or sl|slice:":1" == "g" or - sl|slice:":2" == "yb" or sl|slice:":2" == "kt" or + sl|slice:":1" == "w" or sl|slice:":2" == "wp" or sl|slice:":2" == "ws" or + sl|slice:":1" == "g" or sl|slice:":2" == "yb" or sl|slice:":2" == "kt" or sl|slice:":2" == "km" or sl|slice:":3" == "mwb" or sl|slice:":2" == "ap" or sl|slice:":3" == "apf" or sl|slice:":2" == "be" or sl|slice:":2" == "bh" or sl|slice:":2" == "br" or sl|slice:":2" == "bt" or sl|slice:":3" == "btg" or sl|slice:":2" == "cf" or @@ -95,31 +123,43 @@
-
Talk Title
-
{{ entry.talk_title|default:"—" }}
+
Scripture
+
+ {% if scripture_list %} + {% for sc in scripture_list %} + + {{ sc }} + + {% endfor %} + {% else %}—{% endif %} +
-
Talk Number
-
{{ entry.talk_number|default:"—" }}
-
- -
-
Entry Code
+
Code
{{ entry.entry_code|default:"—" }}
-
Date Added
-
{{ entry.date_added|date:"Y-m-d" }}
+
Talk
+
+ {% if entry.talk_title %}{{ entry.talk_title }}{% else %}—{% endif %} + {% if entry.talk_number %}#{{ entry.talk_number }}{% endif %} +
-
Date Edited
-
{{ entry.date_edited|date:"Y-m-d" }}
+
Dates
+
+ {% if entry.date_added %}Added: {{ entry.date_added }}{% else %}Added: —{% endif %} + {% if entry.date_edited %} • Edited: {{ entry.date_edited }}{% endif %} +
+
@@ -130,19 +170,36 @@ The Illustration was copied to the clipboard
- {% endblock %} \ No newline at end of file