Literówka - zamiast self powinno byæ this.
[redakcja.git] / project / templates / explorer / editor.html
index 2263f02..6ee1cf8 100644 (file)
@@ -28,7 +28,9 @@
     </script>
 {% endblock extrabody %}
 
     </script>
 {% endblock extrabody %}
 
-{% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> &gt; plik {{ fileid }}{% endblock breadcrumbs %}
+ {% load explorer_tags %}
+
+{% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> &gt; {{ fileid|bookname }}{% endblock breadcrumbs %}
 
 {% block header-toolbar %}
 
 
 {% block header-toolbar %}
 
@@ -61,7 +63,7 @@
                     <p><label>{{n|capfirst}} panel:
                     <select name="select-{{n}}-panel" id="panel-{{n}}-select">
                         {% for panel_type in availble_panels %}
                     <p><label>{{n|capfirst}} panel:
                     <select name="select-{{n}}-panel" id="panel-{{n}}-select">
                         {% for panel_type in availble_panels %}
-                        <option value="{% url panel_view path=fileid,name=panel_type.id  %}">{{panel_type.display_name}}</option>
+                        <option value="{% url panel_view path=fileid,name=panel_type.id  %}" p:panel-name="{{ panel_type.id }}">{{panel_type.display_name}}</option>
                         {% endfor %}
                     </select>
                     </label>
                         {% endfor %}
                     </select>
                     </label>