equal
deleted
inserted
replaced
154 |
154 |
155 {% tags_for_object text.last_text_version as tag_list %} |
155 {% tags_for_object text.last_text_version as tag_list %} |
156 {% if tag_list %}<div class="tag_list>">{% blocktrans %}tags:{% endblocktrans %} {% for tag in tag_list %}<a class="tag" title="{% blocktrans with tag.name as tag_name %}Filter by tag: {{ tag_name }}{% endblocktrans %}" href="?{% newparams 'tag_selected' tag.name %}"">{{ tag.name }}</a> {% endfor %}</div>{% endif %} |
156 {% if tag_list %}<div class="tag_list>">{% blocktrans %}tags:{% endblocktrans %} {% for tag in tag_list %}<a class="tag" title="{% blocktrans with tag.name as tag_name %}Filter by tag: {{ tag_name }}{% endblocktrans %}" href="?{% newparams 'tag_selected' tag.name %}"">{{ tag.name }}</a> {% endfor %}</div>{% endif %} |
157 |
157 |
158 <div class="hidden-text-actions text-actions-{{ text.key }}"> |
158 <div class="hidden-text-actions text-actions-{{ text.key }}"> |
159 <a href="{% url text-view text.key %}">{% blocktrans %}View{% endblocktrans %}</a> | |
159 <a href="{% url text-view text.key %}">{% blocktrans %}View{% endblocktrans %}</a> |
160 {% if can_edit_text %}<a href="{% url text-edit text.key %}">{% blocktrans %}Edit{% endblocktrans %}</a> | {% endif %} |
160 {% if can_edit_text %} | <a href="{% url text-edit text.key %}">{% blocktrans %}Edit{% endblocktrans %}</a> | {% endif %} |
161 {% if can_delete_text %}<a id="text-delete-{{ text.key }}" href="#">{% blocktrans %}Delete{% endblocktrans %}</a> | |
161 {% if can_delete_text %}<a id="text-delete-{{ text.key }}" href="#">{% blocktrans %}Delete{% endblocktrans %}</a> | |
162 <script type="text/javascript"> |
162 <script type="text/javascript"> |
163 <!-- |
163 <!-- |
164 $(function() { |
164 $(function() { |
165 $("#text-delete-{{ text.key }}").click(function(){ |
165 $("#text-delete-{{ text.key }}").click(function(){ |