Fixes placing of the alt and title attributes in gallery_view template (related:...
[redakcja.git] / apps / wiki / templates / wiki / tabs / gallery_view.html
index f903ccc..a69c8ce 100644 (file)
@@ -1,16 +1,17 @@
 {% load i18n %}
-<div class="vsplitbar" title="{% trans "Click to open/close gallery" %}">
-</div>
 <div id="side-gallery">
     <!-- gallery toolbar -->
     <div class="toolbar">
-        <button class="previous-page">
-            <img src="{{STATIC_URL}}icons/go-previous.png" 
-               alt="{% trans "Previous" %}" title="{% trans "Previous" %}"/>
-        </button><input type="text" size="3" maxlength="3" value="1" class="page-number" />
-        <button class="next-page">
-            <img src="{{STATIC_URL}}icons/go-next.png" 
-               alt="{% trans "Next" %}" title="{% trans "Next" %}"/>
+        <button class="start-page" alt="{% trans "Go to first image of this part" %}" title="{% trans "Go to first image of this part" %}">
+            <img src="{{STATIC_URL}}icons/revert.png"/>
+        </button>
+        <button class="previous-page" alt="{% trans "Previous" %}" title="{% trans "Previous" %}">
+            <img src="{{STATIC_URL}}icons/go-previous.png"/>
+        </button>
+        <input type="text" size="3" maxlength="3" value="0" class="page-number" />
+        <span id="imagesCount" id="">/0</span>
+        <button class="next-page" alt="{% trans "Next" %}" title="{% trans "Next" %}">
+            <img src="{{STATIC_URL}}icons/go-next.png"/>
         </button>
         <button class="zoom-in">{% trans "Zoom in" %}</button>
         <button class="zoom-out">{% trans "Zoom out" %}</button>
@@ -22,4 +23,4 @@
     <div class="gallery-image">
         <img src="{{MEDIA_URL}}images/empty.png" />
     </div>
-</div>
\ No newline at end of file
+</div>