From 9416867f4633bd13dff2fd2c48d71b249286b1b1 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Mon, 16 Mar 2015 15:12:36 -0400 Subject: [PATCH] webstaff: Tooltips for holdable/visible on status and location in item summary Signed-off-by: Mike Rylander Signed-off-by: Galen Charlton --- Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 | 10 ++++++++-- Open-ILS/web/js/ui/default/staff/cat/item/app.js | 6 ++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 index 69181249ee..bb7370a418 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 @@ -20,7 +20,10 @@
[% l('Status') %]
-
{{copy.status().name()}}
+
{{copy.status().name()}}
@@ -44,7 +47,10 @@
[% l('Copy Location') %]
-
{{copy.location().name()}}
+
{{copy.location().name()}}
[% l('Call # Suffix') %]
diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index a7d08fb824..da3a6b5a68 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -5,6 +5,12 @@ angular.module('egItemStatus', ['ngRoute', 'ui.bootstrap', 'egCoreMod', 'egUiMod', 'egGridMod']) +.filter('boolText', function(){ + return function (v) { + return v == 't'; + } +}) + .config(function($routeProvider, $locationProvider, $compileProvider) { $locationProvider.html5Mode(true); $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|blob):/); // grid export -- 2.11.0