]> gitweb.fperrin.net Git - djsite.git/blob - quotes/templates/quotes/display.html
On the author page, don't display the author notes for each quote
[djsite.git] / quotes / templates / quotes / display.html
1 <div class="quote">
2   <p class="text">
3     {{ quote.text }}
4   </p>
5
6   <div class="details">
7     <p id="details_{{ quote.id}}_button">
8       <a href="" class="show_details"
9           onclick="showDetails('details_{{ quote.id }}'); return false;">
10         Show details</a></p>
11     <div class="hidden_details" id="details_{{ quote.id }}">
12       <p><a href="" class="hide_details"
13             onclick="hideDetails('details_{{ quote.id }}'); return false;">
14           Hide details</a></p>
15       <p class="author">
16         — <span class="name">
17           <a href="{% url 'quotes:author' quote.author.id %}">
18             {{ quote.author.name }}
19           </a>
20         </span>
21       </p>
22
23       {% if not skip_author_notes %}
24         {% include "quotes/author_notes.html" with author=quote.author %}
25       {% endif %}
26
27       {% if quote.tags.all %}
28       <p class="tags">
29         Tags:
30         {% for tag in quote.tags.all %}
31         <a href="{% url 'quotes:tags' tag.id %}" class="tag_link">
32           {{ tag.tag }}
33         </a>
34         {% endfor %}
35       </p>
36       {% endif %}
37
38     </div> <!-- /hidden_details -->
39   </div>   <!-- /details -->
40   <p class="permalink">
41     <a href="{% url 'quotes:onequote' quote.id %}">Permalink</a>
42   </p>
43 </div>