Changeset b926df6
- Timestamp:
- Jan 22, 2012, 2:52:26 PM (14 years ago)
- 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)
- Location:
- asadb
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/template/base.html
rfbb362a rb926df6 14 14 <li{% ifequal pagename "groups" %} class='selected'{% endifequal %}><a href="{% url groups:list %}">Groups</a></li> 15 15 <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> 16 17 {% if user.is_staff %}<li><a href='{% url admin:index %}'>Admin</a></li>{% endif %} 17 18 </ul> -
asadb/template/index.html
r0c4be73 rb926df6 31 31 {%if perms.groups.add_group %}<li><a href='{% url groups:startup-list %}'>Review startup applications</a></li>{%endif%} 32 32 {%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> 33 36 </ul></li> 34 37 </ul> -
asadb/urls.py
r5e2645b rb926df6 17 17 'django.views.generic.simple.direct_to_template', 18 18 {'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', 20 26 ), 21 27 )
Note: See TracChangeset
for help on using the changeset viewer.