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