git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
request.session.user.pi to know if the user is_pi not to Query everytime
[myslice.git]
/
portal
/
templates
/
base.html
diff --git
a/portal/templates/base.html
b/portal/templates/base.html
index
c83c2bd
..
4b5999e
100644
(file)
--- a/
portal/templates/base.html
+++ b/
portal/templates/base.html
@@
-76,7
+76,9
@@
$(document).ready(function() {
slices.push("no slice");
}else{
slices = user.slices;
- //drawSlices(slices);
+ {% if theme != "fed4fire" %}
+ drawSlices(slices);
+ {% endif %}
}
{% if theme == "fed4fire" %}
p = myslice.get_projects();