diff --git a/web/templates/entry_view.html b/web/templates/entry_view.html index d8c0c50..a19fd61 100644 --- a/web/templates/entry_view.html +++ b/web/templates/entry_view.html @@ -1,37 +1,100 @@ {% extends "base.html" %} -{% block title %}Entry - Illustrations DB{% endblock %} +{% load static %} + {% block content %} +
+ +
-
Viewing: Record {{ position }} of {{ count }}
-
- ← Prev - Next → - Back to Search - Unlock to Edit - Delete +
+ ← Back to Search + {% if count %} + {{ position }} of {{ count }} + {% endif %} +
+
+
+ + +
+
+ + +
+ + {% if user.is_authenticated and user.is_staff %} + Unlock / Edit + Delete + {% endif %}
-
-

{{ entry.talk_title|default:"(untitled)" }}

-
Code: {{ entry.entry_code }} • Source: {{ entry.source }} • Talk # {{ entry.talk_number }}
-
-
-
- -
{% for t in subject_list %}{{ t }}{% endfor %}
-
-
- -
{% for t in scripture_list %}{{ t }}{% endfor %}
+ + +
+
+

+ {% if entry.talk_title %}{{ entry.talk_title }}{% else %}Untitled{% endif %} +

+
+ {% if entry.talk_number %}Talk #{{ entry.talk_number }}{% endif %} + {% if entry.entry_code %}Code: {{ entry.entry_code }}{% endif %} + {% if entry.date_added %}Added: {{ entry.date_added }}{% endif %} + {% if entry.date_edited %}Edited: {{ entry.date_edited }}{% endif %} +
+
+ +
+
+
Subject
+
+ {% if subject_list %} + {% for s in subject_list %}{{ s }}{% endfor %} + {% else %} + + {% endif %} +
+
+ +
+
Source
+
{{ entry.source|default:"—" }}
+
+ +
+
Illustration
+
{{ entry.illustration|linebreaksbr|default:"—" }}
+
+ +
+
Application
+
{{ entry.application|linebreaksbr|default:"—" }}
+
+ +
+
Scripture
+
+ {% if scripture_list %} + {% for sc in scripture_list %}{{ sc }}{% endfor %} + {% else %} + + {% endif %} +
-
- -
{{ entry.illustration|linebreaksbr }}
-
- -
{{ entry.application|linebreaksbr }}
-
-
Date Added: {{ entry.date_added }} • Date Edited: {{ entry.date_edited }}
-{% endblock %} + + +
+
+ + +
+
{{ position }} / {{ count }}
+
+ + +
+
+ +
+{% endblock %} \ No newline at end of file