Bug 15072: Breadcrumbs and titles inconsistent in Label creator
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / label-edit-template.tt
index 7a316b0..a7f2c3a 100644 (file)
@@ -1,5 +1,5 @@
     [% INCLUDE 'doc-head-open.inc' %]
-    <title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; Templates</title>
+    <title>Koha &rsaquo; Tools &rsaquo; Label creator &rsaquo; Templates &rsaquo; [% IF ( template_id ) %]Edit ([% template_id %])[% ELSE %]Create[% END %]</title>
     [% INCLUDE 'doc-head-close.inc' %]
        <script type="text/javascript">
         //<![CDATA[
     <div id="breadcrumbs">
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>&rsaquo;
         <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>&rsaquo;
-        <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a>&rsaquo;
-        <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Label templates</a>&rsaquo;
-        Edit label template
+        <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a>&rsaquo;
+        <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Templates</a>&rsaquo;
+        [% IF ( template_id ) %]Edit ([% template_id %])[% ELSE %]Create[% END %]
     </div>
     <div id="doc3" class="yui-t2">
         <div id="bd">
             <div id="yui-main">
                 <div class="yui-b">
+                    <div class="yui-g">
+                    [% INCLUDE 'labels-toolbar.inc' %]
+                        <div class="yui-u first">
+
+                        </div>
+                    </div>
                     <form name="input" action="/cgi-bin/koha/labels/label-edit-template.pl" method="get">
                     <div class="yui-g">
                         <h3>Edit label template</h3>
                 </form>
             </div>
         </div>
-        <div class="yui-b">
-            [% INCLUDE 'labels-menu.inc' %]
-        </div>
     </div>
     [% INCLUDE 'intranet-bottom.inc' %]