Improved public page link text
authorSverre Rabbelier <srabbelier@gmail.com>
Sun, 16 Nov 2008 22:11:16 +0000
changeset 491 e13da520d063
parent 490 7cfa2ad62944
child 492 4abdeedfc08e
Improved public page link text Instead of putting the name of the entity in the link text to the public page, a way better solution is to put static text there.
app/soc/templates/soc/models/edit.html
--- a/app/soc/templates/soc/models/edit.html	Sun Nov 16 17:59:30 2008 +0000
+++ b/app/soc/templates/soc/models/edit.html	Sun Nov 16 22:11:16 2008 +0000
@@ -20,7 +20,7 @@
 {{ page_name }}
  {% if entity %}
    <!-- TODO(srabbelier) use a generic entity name as link -->
-   <a href="/{{ entity_type_short|lower }}/show/{{ entity_suffix }}">"{{ entity_type }}"</a>
+   <a href="/{{ entity_type_short|lower }}/show/{{ entity_suffix }}">(Public page)</a>
  {% endif %}
 {% endblock %}