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 <cesar.velez@equinoxinitiative.org>
Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
'{{patron().first_given_name()}}',
'{{patron().second_given_name()}}') %]
</div>
+
+ <p ng-show="patron().notes().length > 0"><a class='patron-summary-has-notes' href="./circ/patron/{{patron().id()}}/notes"><span class="label label-warning">Notes {{patron().notes().length}}</span></a></p>
<div ng-show="tab != 'search'">
<a href ng-click="toggle_expand_summary()"
title="[% l('Collapse Patron Summary Display') %]"
.patron-summary-alert-small {color: red; background-color: white;}
.patron-summary-divider { border-top: 1px solid #CCC}
.patron-summary-act-link {font-size: .8em;}
+.patron-summary-has-notes:hover, .patron-summary-has-notes:visited{ text-decoration: none; }
/* FIXME: use .barcode instead */
#patron-checkout-barcode,
'billing_address',
'mailing_address',
'stat_cat_entries',
- 'usr_activity'
+ 'usr_activity',
+ 'notes'
]
};