diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-10 19:52:18 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-10 19:52:18 -0500 |
commit | d97cdc198952f3286c027459b4e37cc0a94361f3 (patch) | |
tree | 5c659b9acf6d3177d095374224e3c44853907e78 /forum/skins/default/templates/tag_selector.html | |
parent | ee38739d3b681f7d9fb61b650368d08e290a46bb (diff) | |
download | askbot-d97cdc198952f3286c027459b4e37cc0a94361f3.tar.gz askbot-d97cdc198952f3286c027459b4e37cc0a94361f3.tar.bz2 askbot-d97cdc198952f3286c027459b4e37cc0a94361f3.zip |
second take on skins - quite a bit simpler
Diffstat (limited to 'forum/skins/default/templates/tag_selector.html')
-rw-r--r-- | forum/skins/default/templates/tag_selector.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/forum/skins/default/templates/tag_selector.html b/forum/skins/default/templates/tag_selector.html new file mode 100644 index 00000000..7686d717 --- /dev/null +++ b/forum/skins/default/templates/tag_selector.html @@ -0,0 +1,42 @@ +{% load i18n %} +{% load extra_tags %} +<div id="tagSelector" class="boxC"> + <h3 class="subtitle">{% trans "Interesting tags" %}</h3> + <div class="tags interesting marked-tags"> + {% for tag_name in interesting_tag_names %} + {% spaceless %} + <span class="deletable-tag" id="interesting-tag-{{tag_name}}"> + <a rel="tag" + title="{% blocktrans with tag as tagname %}see questions tagged '{{ tag_name }}'{% endblocktrans %}" + href="{% url tag_questions tag_name|urlencode %}">{{tag_name}}</a> + <img class="delete-icon" + src="{% media "/media/images/close-small-dark.png" %}" + title="{% blocktrans %}remove '{{tag_name}}' from the list of interesting tags{% endblocktrans %}"/> + </span> + {% endspaceless %} + {% endfor %} + </div> + <input id="interestingTagInput" autocomplete="off" type="text"/> + <input id="interestingTagAdd" type="submit" value="{% trans "Add" %}"/> + <h3 class="subtitle">{% trans "Ignored tags" %}</h3> + <div class="tags ignored marked-tags"> + {% for tag_name in ignored_tag_names %} + {% spaceless %} + <span class="deletable-tag" id="ignored-tag-{{tag_name}}"> + <a rel="tag" + title="{% blocktrans with tag as tagname %}see questions tagged '{{ tag_name }}'{% endblocktrans %}" + href="{% url tag_questions tag_name|urlencode %}">{{tag_name}}</a> + <img class="delete-icon" + src="{% media "/media/images/close-small-dark.png" %}" + title="{% blocktrans %}remove '{{tag_name}}' from the list of ignored tags{% endblocktrans %}"/> + </span> + {% endspaceless %} + {% endfor %} + </div> + <input id="ignoredTagInput" autocomplete="off" type="text"/> + <input id="ignoredTagAdd" type="submit" value="{% trans "Add" %}"/> + <p id="hideIgnoredTagsControl"> + <input id="hideIgnoredTagsCb" type="checkbox" {% if request.user.hide_ignored_questions %}checked="checked"{% endif %} /> + <label id="hideIgnoredTagsLabel" for="hideIgnoredTagsCb">{% trans "keep ingored questions hidden" %}</label> + <p> +</div> |