Ignore:
Timestamp:
May 23, 2010, 12:58:41 AM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, space-access, stable, stage, test-hooks
Children:
6fe1ad0
Parents:
a10dd4b
git-author:
Alex Dehnert <adehnert@…> (05/23/10 00:58:41)
git-committer:
Alex Dehnert <adehnert@…> (05/23/10 00:58:41)
Message:

Improve detail view's navstrip display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/fysm/fysm_detail.html

    r101bf09 r7092165  
    1 {% extends "base.html" %}
     1{% extends "base-plain.html" %}
    22{% load formcats %}
    33
     
    77
    88<div class='fysm-navstrip'>
    9 {% if prev %}
    10 <p><a class='back'    href='{% url fysm-view year prev.pk %}'>&laquo; {{prev.display_name}}</a></p>
    11 {% endif %}
    12 {% if next %}
    13 <p><a class='forward' href='{% url fysm-view year next.pk %}'>{{next.display_name}} &raquo;</a></p>
    14 {% endif %}
     9<p class='back'>{% if prev %}
     10<a href='{% url fysm-view year prev.pk %}'>&laquo; Previous: {{prev.display_name}}</a>
     11{%else%}&nbsp;
     12{% endif %}</p>
     13
     14<p class='forward'>{% if next %}
     15<a href='{% url fysm-view year next.pk %}'>Next: {{next.display_name}} &raquo;</a>
     16{%else%}&nbsp;
     17{% endif %}</p>
     18
    1519<p class='up'><a href='{% url fysm year %}'>Up to Index</a></p>
     20
    1621<div style='clear: both;'></div>
    1722</div>
Note: See TracChangeset for help on using the changeset viewer.