Changeset b926df6


Ignore:
Timestamp:
Jan 22, 2012, 2:52:26 PM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
2ca295b
Parents:
5e2645b
git-author:
Alex Dehnert <adehnert@…> (01/22/12 14:52:26)
git-committer:
Alex Dehnert <adehnert@…> (01/22/12 14:52:26)
Message:

Add new "About" page and link "Use of Data" page

Location:
asadb
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/base.html

    rfbb362a rb926df6  
    1414        <li{% ifequal pagename "groups"   %} class='selected'{% endifequal %}><a href="{% url groups:list %}">Groups</a></li>
    1515        <li{% ifequal pagename "fysm"     %} class='selected'{% endifequal %}><a href="{% url fysm       %}">FYSM</a></li>
     16        <li{% ifequal pagename "about"    %} class='selected'{% endifequal %}><a href="{% url about %}">About</a></li>
    1617        {% if user.is_staff %}<li><a href='{% url admin:index %}'>Admin</a></li>{% endif %}
    1718    </ul>
  • asadb/template/index.html

    r0c4be73 rb926df6  
    3131        {%if perms.groups.add_group %}<li><a href='{% url groups:startup-list %}'>Review startup applications</a></li>{%endif%}
    3232        {%if perms.groups.recognize_nge %}<li><a href='{% url groups:recognize-nge %}'>Recognize Non-Group Entity</a></li>{%endif%}
     33    </ul></li>
     34    <li><a href='{% url about %}'>About the ASA Database</a><ul>
     35        <li><a href='{% url about-data %}'>Use of Data</a></li>
    3336    </ul></li>
    3437</ul>
  • asadb/urls.py

    r5e2645b rb926df6  
    1717        'django.views.generic.simple.direct_to_template',
    1818        {'template': 'about/data.html', 'extra_context': { 'pagename':'about' }, },
    19         name='data',
     19        name='about-data',
     20    ),
     21    url(
     22        r'^$',
     23        'django.views.generic.simple.direct_to_template',
     24        {'template': 'about/index.html', 'extra_context': { 'pagename':'about' }, },
     25        name='about',
    2026    ),
    2127)
Note: See TracChangeset for help on using the changeset viewer.