Changeset 2509
- Timestamp:
- 01/27/10 17:26:56 (7 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/pylucid_project/pylucid_plugins/pylucid_comments/templates/pylucid_comments/includes/comments_list.html
r2273 r2509 24 24 </legend> 25 25 26 {% if not comment.is_public %}<p class="admin_info_line">not public</p> 27 {% else %} 28 {{ comment.comment }} 26 {% if perms.pylucid_comments.change_pylucidcomment or perms.pylucid_comments.delete_pylucidcomment %} 27 <div class="admin_links"> 28 {% if perms.pylucid_comments.change_pylucidcomment %} 29 <a href="{% url admin:pylucid_comments_pylucidcomment_change comment.id %}" title="{% trans 'edit this comment entry' %}">{% trans 'edit' %}</a> 30 {% endif %} 31 {% if perms.pylucid_comments.delete_pylucidcomment %} 32 <a href="{% url admin:pylucid_comments_pylucidcomment_delete comment.id %}" title="{% trans 'delete this comment entry' %}">{% trans 'delete' %}</a> 33 {% endif %} 34 </div> 29 35 {% endif %} 30 36 31 <div class="admin_links"> 32 {% if comment.edit_url %}<a href="{{ comment.edit_url }}">edit</a>{% endif %} 33 {% if comment.delete_url %}<a href="{{ comment.delete_url }}" onClick="return confirm('{% trans 'Do you really want to delete the entry?' %}');">{% trans 'delete' %}</a>{% endif %} 34 </div> 37 {% if not comment.is_public %} 38 <p class="admin_info_line">not public</p> 39 {% else %} 40 {{ comment.comment }} 41 {% endif %} 35 42 </fieldset> 36 43 </li>