##// END OF EJS Templates
Show tags as "#tag" instead of "Tag:"
Pavel Ryapolov -
r299:5a4e43dc default
parent child Browse files
Show More
@@ -16,7 +16,7 b''
16
16
17 {% if tag %}
17 {% if tag %}
18 <div class="tag_info">
18 <div class="tag_info">
19 <h2>{% trans 'Tag: ' %}{{ tag.name }}
19 <h2>#{{ tag.name }}
20 {% if tag in user.fav_tags.all %}
20 {% if tag in user.fav_tags.all %}
21 <a href="{% url 'tag_unsubscribe' tag.name %}?next={{ request.path }}"
21 <a href="{% url 'tag_unsubscribe' tag.name %}?next={{ request.path }}"
22 class="fav"></a>
22 class="fav"></a>
@@ -74,11 +74,11 b''
74 {{ thread.thread.get_reply_count }} {% trans 'replies' %},
74 {{ thread.thread.get_reply_count }} {% trans 'replies' %},
75 {{ thread.thread.get_images_count }} {% trans 'images' %}.
75 {{ thread.thread.get_images_count }} {% trans 'images' %}.
76 {% if thread.thread.tags %}
76 {% if thread.thread.tags %}
77 <span class="tags">{% trans 'Tags' %}:
77 <span class="tags">
78 {% for tag in thread.thread.tags.all %}
78 {% for tag in thread.thread.tags.all %}
79 <a class="tag" href="
79 <a class="tag" href="
80 {% url 'tag' tag_name=tag.name %}">
80 {% url 'tag' tag_name=tag.name %}">
81 {{ tag.name }}</a>
81 #{{ tag.name }}</a>
82 {% endfor %}
82 {% endfor %}
83 </span>
83 </span>
84 {% endif %}
84 {% endif %}
@@ -77,10 +77,10 b''
77 </div>
77 </div>
78 {% if post.id == posts.0.id %}
78 {% if post.id == posts.0.id %}
79 <div class="metadata">
79 <div class="metadata">
80 <span class="tags">{% trans 'Tags' %}:
80 <span class="tags">
81 {% for tag in post.tags.all %}
81 {% for tag in post.tags.all %}
82 <a class="tag" href="{% url 'tag' tag.name %}">
82 <a class="tag" href="{% url 'tag' tag.name %}">
83 {{ tag.name }}</a>
83 #{{ tag.name }}</a>
84 {% endfor %}
84 {% endfor %}
85 </span>
85 </span>
86 </div>
86 </div>
General Comments 0
You need to be logged in to leave comments. Login now