NicholasStudt

Changeset 364


Ignore:
Timestamp:
07/29/10 09:36:40 (5 weeks ago)
Author:
nicholas
Message:

Adding link to the headline of entries.

Location:
Python/blog/trunk/blog/templates/blog/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Python/blog/trunk/blog/templates/blog/includes/entry_full.html

    r331 r364  
    11<div class="blog_entry{% if not entry.is_published %} draft{% endif %}"> 
    22 
    3   <h2 class="topic">{{ entry.headline|safe }} {% if perms.blog.change_entry %}<span class="edit"><a href="{% url admin:blog_entry_change entry.id %}">Edit</a></span>{% endif %}  
     3  <h2 class="topic"><a href="{{ entry.get_absolute_url }}">{{ entry.headline|safe }}</a> {% if perms.blog.change_entry %}<span class="edit"><a href="{% url admin:blog_entry_change entry.id %}">Edit</a></span>{% endif %}  
    44  </h2> 
    55 
  • Python/blog/trunk/blog/templates/blog/includes/entry_summary.html

    r331 r364  
    11<div class="blog_entry{% if not entry.is_published %} draft{% endif %}"> 
    22 
    3   <h2 class="topic">{{ entry.headline|safe }} {% if perms.blog.change_entry %}<span class="edit"><a href="{% url admin:blog_entry_change entry.id %}">Edit</a></span>{% endif %}  
     3  <h2 class="topic"><a href="{{ entry.get_absolute_url }}">{{ entry.headline|safe }}</a> {% if perms.blog.change_entry %}<span class="edit"><a href="{% url admin:blog_entry_change entry.id %}">Edit</a></span>{% endif %}  
    44  </h2> 
    55 
Note: See TracChangeset for help on using the changeset viewer.