Show
Ignore:
Timestamp:
09/17/07 18:48:54 (16 months ago)
Author:
simon
Message:

Added viewing of drafts.
Added a list of drafts to the info-block.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bitstructures/trunk/substructure/templates/substructure/base.html

    r5 r6  
    1616 
    1717<div id="info-block"> 
    18 <div id="about"> 
     18 
     19<div class="info-entry"> 
    1920<h2>About me</h2> 
    2021<p>Simon builds and designs web apps and infrastructure. 
     
    2324<p><a href="http://del.icio.us/simonbates">del.icio.us/simonbates</a></p> 
    2425</div> 
     26 
     27{% if drafts %} 
     28<div id="drafts" class="info-entry"> 
     29<h2>Drafts</h2> 
     30<ul> 
     31{% for entry in drafts %} 
     32<li><a href="{{ entry.get_absolute_url }}">{{ entry.title|escape }}</a></li> 
     33{% endfor %} 
     34</ul> 
     35<p><a href="/admin/substructure/entry/add/">new entry</a></p> 
     36</div> 
     37{% endif %} 
     38 
    2539</div> 
    2640