Ustawianie galerii inline.
[redakcja.git] / platforma / templates / explorer / editor.html
index 7bc9c61..8930c94 100755 (executable)
        
        <script type="text/html" charset="utf-8" id="image-gallery-empty-template">
            <div class="image-gallery-empty-template">
-            Galeria jest pusta
+            <div class="empty-gallery-info">Galeria dla tego dokumentu nie istnieje i/lub jest pusta.</div>
+            
+            {% if user.is_superuser %}
+            <div class="choose-gallery">
+                <p>Dołącz galerię do dokumentu:</p>
+                <p>{{ gallery_form.subpath }} <input class="choose-gallery-button" type="submit" value="Dołącz"></p>
+            </div>
+            {% endif %}
         </div>
        </script>