Dirty hack to fix gallery editing on some browsers
[redakcja.git] / platforma / templates / wiki / document_details.html
index ead1382..1362a80 100644 (file)
         </div>
         <div id="header">
             <div id="tools" style="float: right;">
         </div>
         <div id="header">
             <div id="tools" style="float: right;">
-                {% if user.is_authenticated %}
-                    Zalogowany jako <span id="username">{{ user }}</span> | <a href="{% url logout %}">Wyloguj</a> |
-                {% else %}
-                    <a href="{% url login %}?next={{ request.path }}">Zaloguj się</a> |
-                {% endif %}
+                {% include "registration/head_login.html" %}
                 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">
                 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">
             <div class="vsplitbar"> </div>
             <div id="sidebar">
                 <div class="toolbar">
             <div class="vsplitbar"> </div>
             <div id="sidebar">
                 <div class="toolbar">
-                    <button class="previous-page">⇽ Poprzednia</button>
+                    <button class="previous-page">Poprzednia</button>
                     <input type="text" size="3" maxlength="3" value="1" class="page-number" />
                     <input type="text" size="3" maxlength="3" value="1" class="page-number" />
-                    <button class="next-page">Następna ⇾</button>
+                    <button class="next-page">Następna</button>
                     <button class="zoom-in">Powiększ</button>
                     <button class="zoom-out">Pomniejsz</button>
                     <button class="zoom-in">Powiększ</button>
                     <button class="zoom-out">Pomniejsz</button>
-                    <button class="change-gallery">Zmień galerię</button>
+                    <button class="change-gallery">Galeria</button>
                     <div class="toolbar-end"> </div>
                 </div>
                 <div class="toolbar" id="change-gallery-toolbar">
                     <div class="toolbar-end"> </div>
                 </div>
                 <div class="toolbar" id="change-gallery-toolbar">