]> gitweb.fperrin.net Git - djsite.git/blob - quotes/templates/quotes/display.html
Add a massimport page
[djsite.git] / quotes / templates / quotes / display.html
1 <div class="quote">
2   <div class="text">
3     {{ quote.text|safe }}
4   </div>
5
6   <div class="details" id="details_{{ quote.id }}">
7     <p><a href="#" class="showhide_button"></a></p>
8     <div class="hidden_details">
9       <p class="author">
10         — <span class="name">
11           <a href="{{ quote.work.author.get_absolute_url }}"
12              class="author_name">{{ quote.work.author.name }}</a>,
13           <a href="{% quote.work.get_absolute_url }}"
14              class="work_name">{{ quote.work.name }}</a>
15         </span>
16       </p>
17       {% if quote.notes %}
18         <div class="quote_notes">
19           {{ quote.notes|safe }}
20         </div>
21       {% endif %}
22       {% if not skip_work_notes %}
23         {% include "quotes/work_notes.html" with work=quote.work %}
24       {% endif %}
25       {% if not skip_author_notes %}
26         {% include "quotes/author_notes.html" with author=quote.work.author %}
27       {% endif %}
28       {% if quote.tags.all.count %}
29       <p class="tags">
30         Tags:
31         {% for tag in quote.tags.all %}
32           <a href="{{ tag.get_absolute_url }}" class="tag_link"
33             >{{ tag.tag }}</a>{% if not forloop.last %}, {% endif %}
34         {% endfor %}
35       </p>
36       {% endif %}
37     </div> <!-- /hidden_details -->
38   </div>   <!-- /details -->
39   <p class="permalink">
40     <a href="{{ quote.get_absolute_url }}">Permalink</a>
41   </p>
42 </div>