fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e67bed4
)
Dodanie panelu logowania.
author
zuber
<marek@stepniowski.com>
Wed, 10 Feb 2010 22:38:26 +0000
(23:38 +0100)
committer
zuber
<marek@stepniowski.com>
Wed, 10 Feb 2010 22:38:26 +0000
(23:38 +0100)
platforma/templates/wiki/document_details.html
patch
|
blob
|
history
diff --git
a/platforma/templates/wiki/document_details.html
b/platforma/templates/wiki/document_details.html
index
dcd43d1
..
496f1f0
100644
(file)
--- a/
platforma/templates/wiki/document_details.html
+++ b/
platforma/templates/wiki/document_details.html
@@
-27,7
+27,13
@@
{% endfor %}
</div>
<div id="header">
{% endfor %}
</div>
<div id="header">
- <div id="tools" style="float: right;">Wersja: <span id="document-revision">{{ document.revision }}</span> <button style="margin-left: 6px" id="save-button">Zapisz</button></div>
+ <div id="tools" style="float: right;">
+ {% if user.is_authenticated %}
+ Zalogowany jako {{ user }} | <a href="{% url logout %}">Wyloguj</a> |
+ {% else %}
+ <a href="{% url login %}?next={{ request.path }}">Zaloguj siÄ™</a> |
+ {% endif %}
+ Wersja: <span id="document-revision">{{ document.revision }}</span> <button style="margin-left: 6px" id="save-button">Zapisz</button></div>
<h1><a href="{% url wiki.views.document_list %}">Platforma</a></h1>
<ol id="tabs">
<li id="simple-view-tab"><span id="document-name">{{ document.name }}</span></li>
<h1><a href="{% url wiki.views.document_list %}">Platforma</a></h1>
<ol id="tabs">
<li id="simple-view-tab"><span id="document-name">{{ document.name }}</span></li>