Show More
@@ -44,12 +44,19 b'' | |||||
44 | <a href="{{ random_image_post.get_absolute_url }}"><img |
|
44 | <a href="{{ random_image_post.get_absolute_url }}"><img | |
45 | src="{{ image.image.url_200x150 }}" |
|
45 | src="{{ image.image.url_200x150 }}" | |
46 | width="{{ image.pre_width }}" |
|
46 | width="{{ image.pre_width }}" | |
47 |
height="{{ image.pre_height }}" |
|
47 | height="{{ image.pre_height }}" | |
|
48 | alt="{{ random_image_post.id }}"/></a> | |||
48 | {% endwith %} |
|
49 | {% endwith %} | |
49 | </div> |
|
50 | </div> | |
50 | {% endif %} |
|
51 | {% endif %} | |
51 | <div class="tag-text-data"> |
|
52 | <div class="tag-text-data"> | |
52 | <h2> |
|
53 | <h2> | |
|
54 | /{{ tag.get_view|safe }}/ | |||
|
55 | {% if perms.change_tag %} | |||
|
56 | <span class="moderator_info">| <a href="{% url 'admin:boards_tag_change' tag.id %}">{% trans 'Edit tag' %}</a></span> | |||
|
57 | {% endif %} | |||
|
58 | </h2> | |||
|
59 | <p> | |||
53 | <form action="{% url 'tag' tag.name %}" method="post" class="post-button-form"> |
|
60 | <form action="{% url 'tag' tag.name %}" method="post" class="post-button-form"> | |
54 | {% if is_favorite %} |
|
61 | {% if is_favorite %} | |
55 | <button name="method" value="unsubscribe" class="fav">★</button> |
|
62 | <button name="method" value="unsubscribe" class="fav">★</button> | |
@@ -64,11 +71,7 b'' | |||||
64 | <button name="method" value="hide" class="not_fav">H</button> |
|
71 | <button name="method" value="hide" class="not_fav">H</button> | |
65 | {% endif %} |
|
72 | {% endif %} | |
66 | </form> |
|
73 | </form> | |
67 | /{{ tag.get_view|safe }}/ |
|
74 | </p> | |
68 | {% if perms.change_tag %} |
|
|||
69 | <span class="moderator_info">| <a href="{% url 'admin:boards_tag_change' tag.id %}">{% trans 'Edit tag' %}</a></span> |
|
|||
70 | {% endif %} |
|
|||
71 | </h2> |
|
|||
72 | {% if tag.get_description %} |
|
75 | {% if tag.get_description %} | |
73 | <p>{{ tag.get_description|safe }}</p> |
|
76 | <p>{{ tag.get_description|safe }}</p> | |
74 | {% endif %} |
|
77 | {% endif %} |
General Comments 0
You need to be logged in to leave comments.
Login now