Bug 15072: Breadcrumbs and titles inconsistent in Label creator
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / label-edit-profile.tt
index d9576e7..9318b85 100644 (file)
@@ -1,5 +1,5 @@
     [% INCLUDE 'doc-head-open.inc' %]
-    <title>Koha &rsaquo; Tools &rsaquo; Labels</title>
+    <title>Koha &rsaquo; Tools &rsaquo; Label creator &rsaquo; Profiles &rsaquo; [% IF ( profile_id ) %]Edit ([% profile_id %])[% ELSE %]Create[% END%]</title>
     [% INCLUDE 'doc-head-close.inc' %]
        <script type="text/javascript">
         //<![CDATA[
         //]]>
        </script>
 </head>
-<body>
+<body id="labels_label-edit-profile" class="tools labels">
     [% INCLUDE 'header.inc' %]
     [% INCLUDE 'cat-search.inc' %]
     <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=profile">Printer Profiles</a> &rsaquo;
-        Edit Printer Profile
+        <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a> &rsaquo;
+        <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Profiles</a> &rsaquo;
+        [% IF ( profile_id ) %]Edit ([% profile_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">
-                            <h3>Edit Printer Profile</h3>
+                    <div class="yui-g">
+                    [% INCLUDE 'labels-toolbar.inc' %]
+                    </div>
+                        <div class="yui-u first">
+                            <h3>Edit printer profile</h3>
                                 <div class="yui-g first">
                     <form name="input" action="/cgi-bin/koha/labels/label-edit-profile.pl" method="get">
                                     <fieldset class="rows"><legend>Profile settings</legend>
@@ -76,7 +79,7 @@
                                                 [% IF ( label_template ) %]
                                                  <label for="template_name">Template name:</label> [% label_template %]
                                                 [% ELSE %]
-                                                 <span class="label">Template name:</span> Profile Unassigned
+                                                 <span class="label">Template name:</span> Profile unassigned
                                                 [% END %]
                                             </li>
                                             <li>
                                                     [% ELSE %]
                                                     <option value="[% unit.type %]">
                                                     [% END %]
-                                                    [% unit.desc %]
+                                                    [% SWITCH unit.type %]
+                                                    [%   CASE 'POINT' %]
+                                                    PostScript Points
+                                                    [%   CASE 'AGATE' %]
+                                                    Adobe Agates
+                                                    [%   CASE 'INCH' %]
+                                                    US Inches
+                                                    [%   CASE 'MM' %]
+                                                    SI Millimeters
+                                                    [%   CASE 'CM' %]
+                                                    SI Centimeters
+                                                    [% END %]
                                                     </option>
                                                     [% END %]
                                                 </select>
                             </div>
                         </div>
                 </div>
-                <div class="yui-b">
-                    [% INCLUDE 'labels-menu.inc' %]
-                </div>
             </div>
             [% INCLUDE 'intranet-bottom.inc' %]