Bug 11299: Add a button to the biblio edition page to automatically add authority...
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / js / holds.js
index 3a4e129..134194b 100644 (file)
@@ -161,9 +161,16 @@ $(document).ready(function() {
 
                                     if ( oObj.waiting_here ) {
                                         data += __("Item is <strong>waiting here</strong>");
+                                        if (oObj.desk_name) {
+                                            data += ", " + __("at %s").format(oObj.desk_name.escapeHtml());
+                                        }
                                     } else {
                                         data += __("Item is <strong>waiting</strong>");
                                         data += " " + __("at %s").format(oObj.waiting_at);
+                                        if (oObj.desk_name) {
+                                            data += ", " + __("at %s").format(oObj.desk_name.escapeHtml());
+                                        }
+
                                     }
 
                                 } else if ( oObj.transferred ) {
@@ -294,5 +301,4 @@ $(document).ready(function() {
           }
         });
     });
-
 });