{% extends "base.html" %}
{% block extrahead %}
+ <script type="text/javascript" charset="utf-8">
+ var fileId = '{{ fileid }}';
+ </script>
<link rel="stylesheet" href="{{STATIC_URL}}css/toolbar.css" type="text/css" />
<link rel="stylesheet" href="{{STATIC_URL}}css/jquery.modal.css" type="text/css" />
<script src="{{STATIC_URL}}js/jquery.lazyload.js" type="text/javascript" charset="utf-8"></script>
</script>
{% endblock extrabody %}
-{% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> > plik {{ fileid }}{% endblock breadcrumbs %}
+ {% load explorer_tags %}
+
+{% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> > {{ fileid|bookname }}{% endblock breadcrumbs %}
{% block header-toolbar %}
<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>