From 8cb7f04da3732e152f05cbbe7d9f5ac5c7842ca0 Mon Sep 17 00:00:00 2001 From: Cesar Velez Date: Thu, 8 Jun 2017 11:33:31 -0400 Subject: [PATCH] LP#1677000 - webstaff Adds a 'has-notes visual indicator' for patrons with notes. Made the indicator be clickable and route to Other->Notes. Other ways to address this not mentioned in LP would be using a glyphicon instead, or moving the Notes submenu item out of Others tab. Or even making the entire tab/menu be resposive, and collapsing into an Others submenu only when needed. Signed-off by: Cesar Velez --- Open-ILS/src/templates/staff/circ/patron/index.tt2 | 2 ++ Open-ILS/src/templates/staff/css/circ.css.tt2 | 1 + Open-ILS/web/js/ui/default/staff/services/user.js | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/index.tt2 b/Open-ILS/src/templates/staff/circ/patron/index.tt2 index b017f19c9f..ae49ca7d06 100644 --- a/Open-ILS/src/templates/staff/circ/patron/index.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/index.tt2 @@ -76,6 +76,8 @@ angular.module('egCoreMod').run(['egStrings', function(s) { '{{patron().first_given_name()}}', '{{patron().second_given_name()}}') %] + +

Notes  {{patron().notes().length}}