Changeset 74 for bitstructures/trunk/templates
- Timestamp:
- 05/28/08 20:22:40 (6 months ago)
- Location:
- bitstructures/trunk/templates/substructure
- Files:
-
- 1 added
- 3 modified
-
base.html (modified) (2 diffs)
-
blog.html (modified) (1 diff)
-
entry.html (modified) (1 diff)
-
tagged-with.html (added)
Legend:
- Unmodified
- Added
- Removed
-
bitstructures/trunk/templates/substructure/base.html
r72 r74 5 5 6 6 <head> 7 <title> {% block title %}Bitstructures —Simon Bates{% endblock %}</title>7 <title>Bitstructures — {% block title %}Simon Bates{% endblock %}</title> 8 8 <link rel="alternate" type="application/atom+xml" href="/atom.xml"> 9 9 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/bitstructures.css"> … … 53 53 </div> 54 54 55 {% if drafts %}56 <div id="drafts" class="info-entry">57 <h2>Drafts</h2>58 <ul>59 {% for entry in drafts %}60 <li><a href="{{ entry.get_absolute_url }}">{{ entry.title|escape }}</a></li>61 {% endfor %}62 </ul>63 <p><a href="/admin/substructure/entry/add/">new entry</a></p>64 </div>65 {% endif %}66 67 55 </div> 68 56 </div> -
bitstructures/trunk/templates/substructure/blog.html
r72 r74 7 7 {% endfor %} 8 8 9 <div class="page-nav">{% if previous_page %}<a href="/{% if not previous_page_first_page %}?page={{ previous_page_num }}{% endif %}">&la quo; newer</a>{% else %}« newer{% endif %}10 | {% if next_page %}<a href="/?page={{ next_page_num }}"> older »</a>{% else %}older »{% endif %}</div>9 <div class="page-nav">{% if previous_page %}<a href="/{% if not previous_page_first_page %}?page={{ previous_page_num }}{% endif %}">← Newer</a>{% else %}← Newer{% endif %} 10 | {% if next_page %}<a href="/?page={{ next_page_num }}">Older →</a>{% else %}Older →{% endif %}</div> 11 11 12 12 {% endblock %} -
bitstructures/trunk/templates/substructure/entry.html
r42 r74 5 5 <h2><a href="{{ entry.get_absolute_url }}">{{ entry.title|escape }}</a></h2> 6 6 7 {% if entry.date_published %} 8 <p class="entry-date">{{ entry.date_published|date:"F j, Y" }}</p> 9 {% endif %} 10 11 {% if user_can_change_entry %} 12 <p><a href="/admin/substructure/entry/{{ entry.id }}/">edit</a></p> 13 {% endif %} 7 <p class="entry-info">{% if entry.date_published %}{{ entry.date_published|date:"F j, Y" }}<br>{% endif %}Tags: 8 {% for tag in entry.tags %}<a href="{{ tag.get_absolute_url }}">{{ tag.name|escape }}</a> 9 {% endfor %}</p> 14 10 15 11 {{ entry.text|syntax_highlighted_markdown }}
