Otwieranie do edycji motywów i przypisów zaraz po ich wstawieniu.
[redakcja.git] / platforma / templates / explorer / editor.html
index 08f7d41..a2ec61f 100755 (executable)
@@ -64,7 +64,8 @@
        <script type="text/html" charset="utf-8" id="html-view-template">
                 <div class="htmlview-toolbar">
                     <a class="html-print-link" href="print" ui:baseref="{% url file_print fileid %}" target="_new">{% trans "Print version"  %}</a>
        <script type="text/html" charset="utf-8" id="html-view-template">
                 <div class="htmlview-toolbar">
                     <a class="html-print-link" href="print" ui:baseref="{% url file_print fileid %}" target="_new">{% trans "Print version"  %}</a>
-                    <button class="html-add-motive" type="button">Dodaj motyw</button>                    
+                    <button class="html-add-theme" type="button">Oznacz fragment motywem</button>
+                    <button class="html-add-annotation" type="button">Dodaj przypis</button>
                 </div>
                 
                <div class="htmlview">
                 </div>
                 
                <div class="htmlview">
             
             <tbody>
                 <tr><th colspan="5">Themes in the database</th></tr>
             
             <tbody>
                 <tr><th colspan="5">Themes in the database</th></tr>
-            {% regroup availble_themes by first_letter as grouped_themes %}
+            {% regroup available_themes by first_letter as grouped_themes %}
 
             {% for letter in grouped_themes %}
             <tr><th colspan="5" class="letter-heading">{{ letter.grouper }}</th></tr>
 
             {% for letter in grouped_themes %}
             <tr><th colspan="5" class="letter-heading">{{ letter.grouper }}</th></tr>