src/cm/templates/site/text_list.html
changeset 631 150db5b6711d
parent 565 95a5c06c4008
child 632 f8733ce4ed05
equal deleted inserted replaced
627:7d93eccbb565 631:150db5b6711d
   155             {% if can_manage_workspace %}<td><input type="checkbox" class="text_check" name="check-{{ text.key }}"/></td>{% endif %}
   155             {% if can_manage_workspace %}<td><input type="checkbox" class="text_check" name="check-{{ text.key }}"/></td>{% endif %}
   156             <td>
   156             <td>
   157                 <a class="main_object_title" href="{% url text-view text.key %}">{{ text.title }}</a>
   157                 <a class="main_object_title" href="{% url text-view text.key %}">{{ text.title }}</a>
   158                 
   158                 
   159 				{% tags_for_object text.last_text_version as tag_list %}
   159 				{% tags_for_object text.last_text_version as tag_list %}
   160 				{% if tag_list %}<div class="tag_list>">{% blocktrans %}tags:{% endblocktrans %}&nbsp;{% 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>&nbsp;{% endfor %}</div>{% endif %}
   160 				{% if tag_list %}<div class="tag_list>">{% blocktrans %}tags:{% endblocktrans %}&nbsp;{% 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>&nbsp;{% endfor %}</div>{% endif %}
   161                 
   161                 
   162                 <div class="hidden-text-actions text-actions-{{ text.key }}">
   162                 <div class="hidden-text-actions text-actions-{{ text.key }}">
   163                     <a href="{% url text-view text.key %}">{% blocktrans %}View{% endblocktrans %}</a> 
   163                     <a href="{% url text-view text.key %}">{% blocktrans %}View{% endblocktrans %}</a> 
   164                     {% if can_edit_text %} | <a href="{% url text-edit text.key %}">{% blocktrans %}Edit{% endblocktrans %}</a> | {% endif %}
   164                     {% if can_edit_text %} | <a href="{% url text-edit text.key %}">{% blocktrans %}Edit{% endblocktrans %}</a> | {% endif %}
   165                     {% if can_delete_text %}<a id="text-delete-{{ text.key }}" href="#">{% blocktrans %}Delete{% endblocktrans %}</a> |
   165                     {% if can_delete_text %}<a id="text-delete-{{ text.key }}" href="#">{% blocktrans %}Delete{% endblocktrans %}</a> |