Revision: 713
Author:
m.me...@gmail.com
Date: Fri Sep 25 03:55:07 2009
Log: added redirect icon info on page list for redirected page
http://code.google.com/p/django-page-cms/source/detail?r=713
Added:
/trunk/pages/media/pages/images/icons/redirect.gif
Modified:
/trunk/pages/templates/admin/pages/page/menu.html
=======================================
--- /dev/null
+++ /trunk/pages/media/pages/images/icons/redirect.gif Fri Sep 25 03:55:07
2009
@@ -0,0 +1,5 @@
+GIF89a
+ € l’¢ÿÿÿ!ù ,
+
+Œ ©ËÀ œ‰”®Ø
+* ;
=======================================
--- /trunk/pages/templates/admin/pages/page/menu.html Tue Sep 15 10:05:38
2009
+++ /trunk/pages/templates/admin/pages/page/menu.html Fri Sep 25 03:55:07
2009
@@ -16,8 +16,8 @@
<img class="expand-loading" src="{{
PAGES_MEDIA_URL }}images/loading.gif" alt="loading" />
</a>
{% endif %}
- <a href="{{ url }}{{
page.id }}/" class="title changelink
{% if page.pagelink_broken or page.externallink_broken %}broken{%
endif %}">{% show_content page "slug" %}</a>
-
+ <a href="{{ url }}{{
page.id }}/" class="title changelink
{% if page.pagelink_broken or page.externallink_broken %}broken{%
endif %}">{% show_content page "slug" %}{% if page.redirect_to or
page.redirect_to_url %} <img class="redirected" src="{{ PAGES_MEDIA_URL
}}images/icons/redirect.gif" alt="redirected" />{% endif %}</a>
+
<div class="actions-pages">
<a class="viewlink" href="{% show_absolute_url
page %}" target="_blank" title="{% trans "view this page" %}"></a>
<a class="movelink" id="move-link-{{
page.id }}"
href="#" title="{% trans "move this page" %}"></a>