projects
/
cascardo
/
eventmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a90bc08
)
retirando o link pro boleto do administrador
author
Lincoln de Sousa
<lincoln@archlinux-br.org>
Thu, 27 Sep 2007 12:28:09 +0000
(09:28 -0300)
committer
Lincoln de Sousa
<lincoln@archlinux-br.org>
Thu, 27 Sep 2007 12:28:09 +0000
(09:28 -0300)
templates/base.html
patch
|
blob
|
history
diff --git
a/templates/base.html
b/templates/base.html
index
385cd71
..
88f9392
100644
(file)
--- a/
templates/base.html
+++ b/
templates/base.html
@@
-20,7
+20,11
@@
<li><a href="/meus_trabalhos">Trabalhos inscritos</a></li>
<li><a href="/meus_dados">Editar dados de usuário</a></li>
{% else %}
- <li><a href="/boleto">Emitir boleto</a></li>
+
+ {% if user.participante_set.all %}
+ <li><a href="/boleto">Emitir boleto</a></li>
+ {% endif %}
+
{% endif %}
<li><a href="/logout">Sair ({{ user }})</a></li>