]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/question_list/tag_selector.html
Remove footer link to squatted domain
[osqa.git] / forum / skins / default / templates / question_list / tag_selector.html
1 {% load i18n %}
2 {% load extra_tags %}
3
4 {% if show_interesting_tags %}
5 {% if user_authenticated %}
6 <div id="tagSelector" class="boxC">
7         <h3 class="subtitle">{% trans "Interesting tags" %}</h3>
8     <div class="tags interesting marked-tags">
9     {% for tag_name in interesting_tag_names %}
10         {% spaceless %}
11         <span class="deletable-tag" id="interesting-tag-{{tag_name}}">
12             <a rel="tag" 
13                 class="tag-link-{{ tag_name }}"
14                 title="{% blocktrans with tag as tagname %}see questions tagged '{{ tag_name }}'{% endblocktrans %}"
15                 href="{% url "tag_questions" tag_name|urlencode %}">{{tag_name}}</a>
16             <img class="delete-icon" 
17                 src="{% media  "/media/images/close-small-dark.png" %}"
18                 title="{% blocktrans %}remove '{{tag_name}}' from the list of interesting tags{% endblocktrans %}"/>
19         </span>
20         {% endspaceless %}
21     {% endfor %}
22     </div>
23     <input id="interestingTagInput" autocomplete="off" type="text"/>
24     <input id="interestingTagAdd" type="submit" value="{% trans "Add" %}"/>
25         <h3 class="subtitle">{% trans "Ignored tags" %}</h3>
26     <div class="tags ignored marked-tags">
27     {% for tag_name in ignored_tag_names %}
28         {% spaceless %}
29         <span class="deletable-tag" id="ignored-tag-{{tag_name}}">
30             <a rel="tag" 
31                 class="tag-link-{{ tag_name }}"
32                 title="{% blocktrans with tag as tagname %}see questions tagged '{{ tag_name }}'{% endblocktrans %}"
33                 href="{% url "tag_questions" tag_name|urlencode %}">{{tag_name}}</a>
34             <img class="delete-icon" 
35                 src="{% media  "/media/images/close-small-dark.png" %}"
36                 title="{% blocktrans %}remove '{{tag_name}}' from the list of ignored tags{% endblocktrans %}"/>
37         </span>
38         {% endspaceless %}
39     {% endfor %}
40     </div>
41     <input id="ignoredTagInput" autocomplete="off" type="text"/>
42     <input id="ignoredTagAdd" type="submit" value="{% trans "Add" %}"/>
43     {% comment %}
44     <p id="hideIgnoredTagsControl">
45     <input id="hideIgnoredTagsCb" type="checkbox" {% if request.user.hide_ignored_questions %}checked="checked"{% endif %} />
46     <label id="hideIgnoredTagsLabel" for="hideIgnoredTagsCb">{% trans "keep ignored questions hidden" %}</label>
47     <p>
48     {% endcomment %}
49 </div>
50 {% endif %}
51 {% endif %}