projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
220bcc8
)
Added a link to admin page under settings if you have permissions to use the admin...
author
Brandon King
<kingb@caltech.edu>
Tue, 28 Apr 2009 21:39:08 +0000
(21:39 +0000)
committer
Brandon King
<kingb@caltech.edu>
Tue, 28 Apr 2009 21:39:08 +0000
(21:39 +0000)
templates/app.html
patch
|
blob
|
history
diff --git
a/templates/app.html
b/templates/app.html
index 0531fa15304ab706fd3d0fe4f1dfd6530f7d8413..41053f5e37b74b79b37c31258ea4e3f33a480281 100644
(file)
--- a/
templates/app.html
+++ b/
templates/app.html
@@
-49,6
+49,7
@@
<div>
<h3><a href="#">Settings</a></h3>
<div>
+ {% if user.is_staff %}<a href="/admin/">Admin</a>{% endif %}
<a href="{% url samplebc.samples.views.user_profile %}">Profile</a>
<a href="{% url django.contrib.auth.views.password_change %}">Change_PW</a>
</div>