Merge remote branch 'kc/new/bug_5949' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / neworderempty.tmpl
index d8b34ce..0eacf19 100644 (file)
@@ -78,13 +78,13 @@ $(document).ready(function()
             // if user decreases the quantity
             if($(this).val() < <!-- TMPL_VAR name="quantityrec" -->) 
             {
-                alert("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog");   
+                alert(_("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog"));
                 return true;
             } 
             else 
             {
                 // if user increases the quantity
-                alert("You can't add a new item, please create a new order line");
+                alert(_("You can't add a new item, please create a new order line"));
                 // and we replace the original value
                 $(this).val(<!-- TMPL_VAR name="quantityrec" -->)
                 return false;
@@ -171,7 +171,9 @@ $(document).ready(function()
 <fieldset class="rows">
         <legend>
             Catalog details
-            <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!--TMPL_VAR NAME= "biblionumber"-->"> Edit record</a></span>
+            <!-- TMPL_IF name="biblionumber" -->
+                <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!--TMPL_VAR NAME= "biblionumber"-->"> Edit record</a></span>
+            <!-- /TMPL_IF -->
         </legend>
         <!-- TMPL_UNLESS name="existing" -->
         <input type="hidden" name="existing" value="no" />