]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/cat/share/t_marcedit_editable.tt2
LP#1538691: More changes to terminology
[Evergreen.git] / Open-ILS / src / templates / staff / cat / share / t_marcedit_editable.tt2
1 <span style="all:unset;">
2 <input
3   ng-show="itype != 'sfv'"
4   ng-disabled="{{isInputDisabled}}"
5   ng-class="['marcedit', {'marcsfcode': itype == 'sfc','marcind': itype == 'ind' || itype == 'tag', 'focusable': itype != 'sfv'}]"
6   style="font-family: 'Lucida Console', Monaco, monospace; min-width: 1ch; margin: 0 -2px;"
7   ng-model="content"
8   size="{{content.length * 1.1}}"
9   maxlength="{{max}}"
10   class=""
11   type="text">
12 </input>
13 <div contenteditable
14   class=""
15   ng-class="['marcedit', {'marcsfvalue': itype == 'sfv', 'focusable': itype == 'sfv'}]"
16   ng-show="itype == 'sfv'"
17   style="font-family: 'Lucida Console', Monaco, monospace; display: inline-block; min-width: 1ch; margin: 0 -1px; padding: 0;"
18   ng-model="content"
19 >{{content}}</div>
20 </span>