From a5111776661b862f1496ca541d678ed5f36d4edd Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 24 May 2018 13:48:48 +0000 Subject: [PATCH] Bug 11375: Improve patrons permissions display This patch updates the patron permissions interface in order to emphasize permission descriptions (which can be translated) over permission code (which cannot). The tree structure (and jQuery plugin) is removed, and permissions are displayed in a table-like way. Sub-permissions are shown or hidden with a link. A free-text filter is added to the top for narrowing the list by keyword. Save and cancel buttons are now in a floating toolbar. To test, apply the patch, regenerate the staff client CSS, and clear your browser cache if necessary. - Open the "Set permissions" page for any patron. - Confirm that the filter works correctly to show only lines which match your entry - Note that the superlibrarian line stays visible all the time. This is to make it clearer that sub-permissions cannot be selected if superlibrarian is checked. - Check the superlibrarain "hint" text for clarity. - Test the show/hide controls. - Test that checking a "parent" permission displays the sub-permissions. - Test that the toolbar with Save and Cancel floats when scrolling. - Test that changing and saving permissions works correctly. --- .../lib/jquery/plugins/jquery.treeview.pack.js | 16 - .../intranet-tmpl/prog/css/src/staff-global.scss | 106 ++- .../prog/css/treeview/images/file.gif | Bin 110 -> 0 bytes .../prog/css/treeview/images/folder-closed.gif | Bin 105 -> 0 bytes .../prog/css/treeview/images/folder.gif | Bin 106 -> 0 bytes .../prog/css/treeview/images/minus.gif | Bin 837 -> 0 bytes .../prog/css/treeview/images/plus.gif | Bin 841 -> 0 bytes .../css/treeview/images/treeview-black-line.gif | Bin 1877 -> 0 bytes .../prog/css/treeview/images/treeview-black.gif | Bin 1216 -> 0 bytes .../css/treeview/images/treeview-default-line.gif | Bin 1993 -> 0 bytes .../prog/css/treeview/images/treeview-default.gif | Bin 1222 -> 0 bytes .../treeview/images/treeview-famfamfam-line.gif | Bin 807 -> 0 bytes .../css/treeview/images/treeview-famfamfam.gif | Bin 1280 -> 0 bytes .../css/treeview/images/treeview-gray-line.gif | Bin 1877 -> 0 bytes .../prog/css/treeview/images/treeview-gray.gif | Bin 1230 -> 0 bytes .../prog/css/treeview/images/treeview-red-line.gif | Bin 1877 -> 0 bytes .../prog/css/treeview/images/treeview-red.gif | Bin 1230 -> 0 bytes .../prog/css/treeview/jquery.treeview.css | 69 -- .../intranet-tmpl/prog/en/includes/permissions.inc | 778 +++++++++++++++++---- .../prog/en/modules/members/member-flags.tt | 225 +++--- 20 files changed, 842 insertions(+), 352 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.treeview.pack.js delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/file.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/folder-closed.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/folder.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/minus.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/plus.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-black-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-black.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-default-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-default.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-famfamfam-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-famfamfam.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-gray-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-gray.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-red-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-red.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/jquery.treeview.css diff --git a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.treeview.pack.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.treeview.pack.js deleted file mode 100644 index eddac49..0000000 --- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.treeview.pack.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Treeview 1.4 - jQuery plugin to hide and show branches of a tree - * - * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ - * http://docs.jquery.com/Plugins/Treeview - * - * Copyright (c) 2007 Jörn Zaefferer - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * - * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $ - * - */ -eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(4($){$.1l($.F,{E:4(b,c){l a=3.n(\'.\'+b);3.n(\'.\'+c).o(c).m(b);a.o(b).m(c);8 3},s:4(a,b){8 3.n(\'.\'+a).o(a).m(b).P()},1n:4(a){a=a||"1j";8 3.1j(4(){$(3).m(a)},4(){$(3).o(a)})},1h:4(b,a){b?3.1g({1e:"p"},b,a):3.x(4(){T(3)[T(3).1a(":U")?"H":"D"]();7(a)a.A(3,O)})},12:4(b,a){7(b){3.1g({1e:"D"},b,a)}1L{3.D();7(a)3.x(a)}},11:4(a){7(!a.1k){3.n(":r-1H:G(9)").m(k.r);3.n((a.1F?"":"."+k.X)+":G(."+k.W+")").6(">9").D()}8 3.n(":y(>9)")},S:4(b,c){3.n(":y(>9):G(:y(>a))").6(">1z").C(4(a){c.A($(3).19())}).w($("a",3)).1n();7(!b.1k){3.n(":y(>9:U)").m(k.q).s(k.r,k.t);3.G(":y(>9:U)").m(k.u).s(k.r,k.v);3.1r("").6("J."+k.5).x(4(){l a="";$.x($(3).B().1o("14").13(" "),4(){a+=3+"-5 "});$(3).m(a)})}3.6("J."+k.5).C(c)},z:4(g){g=$.1l({N:"z"},g);7(g.w){8 3.1K("w",[g.w])}7(g.p){l d=g.p;g.p=4(){8 d.A($(3).B()[0],O)}}4 1m(b,c){4 L(a){8 4(){K.A($("J."+k.5,b).n(4(){8 a?$(3).B("."+a).1i:1I}));8 1G}}$("a:10(0)",c).C(L(k.u));$("a:10(1)",c).C(L(k.q));$("a:10(2)",c).C(L())}4 K(){$(3).B().6(">.5").E(k.Z,k.Y).E(k.I,k.M).P().E(k.u,k.q).E(k.v,k.t).6(">9").1h(g.1f,g.p);7(g.1E){$(3).B().1D().6(">.5").s(k.Z,k.Y).s(k.I,k.M).P().s(k.u,k.q).s(k.v,k.t).6(">9").12(g.1f,g.p)}}4 1d(){4 1C(a){8 a?1:0}l b=[];j.x(4(i,e){b[i]=$(e).1a(":y(>9:1B)")?1:0});$.V(g.N,b.1A(""))}4 1c(){l b=$.V(g.N);7(b){l a=b.13("");j.x(4(i,e){$(e).6(">9")[1y(a[i])?"H":"D"]()})}}3.m("z");l j=3.6("Q").11(g);1x(g.1w){18"V":l h=g.p;g.p=4(){1d();7(h){h.A(3,O)}};1c();17;18"1b":l f=3.6("a").n(4(){8 3.16.15()==1b.16.15()});7(f.1i){f.m("1v").1u("9, Q").w(f.19()).H()}17}j.S(g,K);7(g.R){1m(3,g.R);$(g.R).H()}8 3.1t("w",4(a,b){$(b).1s().o(k.r).o(k.v).o(k.t).6(">.5").o(k.I).o(k.M);$(b).6("Q").1q().11(g).S(g,K)})}});l k=$.F.z.1J={W:"W",X:"X",q:"q",Y:"q-5",M:"t-5",u:"u",Z:"u-5",I:"v-5",v:"v",t:"t",r:"r",5:"5"};$.F.1p=$.F.z})(T);',62,110,'|||this|function|hitarea|find|if|return|ul||||||||||||var|addClass|filter|removeClass|toggle|expandable|last|replaceClass|lastExpandable|collapsable|lastCollapsable|add|each|has|treeview|apply|parent|click|hide|swapClass|fn|not|show|lastCollapsableHitarea|div|toggler|handler|lastExpandableHitarea|cookieId|arguments|end|li|control|applyClasses|jQuery|hidden|cookie|open|closed|expandableHitarea|collapsableHitarea|eq|prepareBranches|heightHide|split|class|toLowerCase|href|break|case|next|is|location|deserialize|serialize|height|animated|animate|heightToggle|length|hover|prerendered|extend|treeController|hoverClass|attr|Treeview|andSelf|prepend|prev|bind|parents|selected|persist|switch|parseInt|span|join|visible|binary|siblings|unique|collapsed|false|child|true|classes|trigger|else'.split('|'),0,{})) \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 7f75266..1493801 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -527,19 +527,6 @@ label, font-weight: bold; } - // Permissions Labels - &.permissioncode { - font-style: italic; - - &::before { - content: "("; - } - - &::after { - content: ")"; - } - } - &.required { color: #C00; } @@ -3656,10 +3643,6 @@ span { font-weight: bold; } - &.permissiondesc { - font-weight: normal; - } - &.required { color: #C00; font-style: italic; @@ -4285,6 +4268,95 @@ span { } } +/* Permissions */ + +#permissionstree { + display: inline-block; + + label { + cursor: pointer; + + &:hover { + color: #004d99; + } + } +} + +.main_permission { + font-size: 110%; + font-weight: bold; +} + +.permissioncode { + color: #666; + font-style: italic; +} + +.permission-highlight { + background-color: #FFC; +} + +.togglechildren_on, +.togglechildren_off { + float: right; +} + +.togglechildren_off, +.children { + display: none; +} + +.open { + .togglechildren_off { + display: inline; + } + + .togglechildren_on { + display: none; + } +} + +.parent { + border: 1px solid #DDD; + border-bottom-width: 0; + padding: 5px; + + &:last-child { + border-bottom-width: 1px; + } + + &:nth-child(odd) { + background-color: #F8F8F8; + } +} + + +.superlibrarian-hint { + color: #000; + padding: .2em 0; + text-indent: 2em; +} + +.child-flags { + background-color: #FFF; + border: 1px solid #DDD; + border-bottom-width: 0; + margin: 0 5px 0 20px; + padding: 5px; + + &:first-child { + margin-top: 10px; + } + + &:last-child { + border-bottom-width: 1px; + } + + &:nth-child(odd) { + background-color: #EEE; + } +} + @media (min-width: 200px) { .navbar-nav > li { float: left; diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/file.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/file.gif deleted file mode 100644 index 7e6216798f8e5abfc81a2fe2e5cb32b7a2d82e10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 110 zcmZ?wbhEHb!0m5Y~9sd L;uWgGz+epk&R;19 diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/folder-closed.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/folder-closed.gif deleted file mode 100644 index 541107888e6739a7b367ad3d208e1efa933f877d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 105 zcmZ?wbhEHb6ky4lrdiO0bk3ZcRLy6E?4f Hg~1vCyv-@{ diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/folder.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/folder.gif deleted file mode 100644 index 2b31631ca2bfec3a8afb1bfdd4f8ed4c5bcc3a18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 106 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 diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-gray-line.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-gray-line.gif deleted file mode 100644 index 37600447dc002bbc0dd16e1391b711360aae2e34..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1877 zcmeH``8OK|0LL@bF~qSc#n50?JXNI+k>{#)#go3O{g`&sTA06+?`JRv{%1VB*=kSggPTmbZ?E2@Hm10RaqGJr~M_swEK9(fuU z9bXMur@nY#Xn3Qp;v6X2AT> zA>EM+>y@m1^a49s_E1X&+bZH^!_a=e{N6Su)s&U>sDnd!~=b?JFEB#FT8 zioZMFaK52~t&52oqdWW~2MJ1ue%%?en#qCfU7u!nC|sSJi5E`}X3h8)ly{+5*|mp+ zYqNE`8MkZN-)k};oze-j%*tB&sNuZif|=0wM%!=l0sXF(V)Zg+3_ zjbW;EBEX2ytHG=$Dx2Ha{HE%5V3a1hHnd2R32m%R*9#gFWf^4tEW&~!6yIiV)*e*l zireg~b4-8KL1b9Tn<4TQc-aUN7>=bBxE!0Aep)ES$dA>bZ zlac_>GSf$}Amq|xpG2f_X<$)PU0E=BExZ&}FuYP8&bwD%fgJCOsK5%!A}jIpO{>+( zGV75wBp|A>JOyOlNY1dq-7SE-P1iq3bVQx6%Yk<{*5}84F?-+_`Yq}S#U}_=SCzX? zX`+&GsCqhDsvFh7AWWM#ck=(Rps}W(-f3)-hf$w$i>58wymeug)RAsnbE^=j9L-?f zpi-Z);Tuuyqj4L}9YcZxTIWO&p4K%*X3?0-?f4ef8jtm%XgkyEBd6Ds8uOK?%`{)>0D(Cr`A4IcZoG`&U18YKqjoYtzQo|Dt=**7zk597IbK9sJXFyhNi zwtW@gRcSW?gGKMW@kxrlG#OY-do~qJ*-V&3Js8`Y3GYwom_@$iB+g=ml}U5>1u1QR zAzAiA(jrL>&74Uwwqm}`xJ1AT;O_GsONn5#!*ULyhq;oEIkp%2g#mF(6lf@Jxhn4i zV~t87;8y4{2KZG5ao+KL=SUTJlQq*4|E@_PjJ3`!o(GG)^}?JsMpy*)mQYPCf1;Sk`8-A8at@Xm#Gb>oe(v%3b{156)aykj?nu&|IbZfh z!lZx$?iVd}BHwuNSkmco3iwy5Drr$xV-lid6PqT(u95$N>8c#Jm2RMN_SB1WJe9Oq z(x$uU@TQLQX@QVr>U~Sa;vEmbZ_QL7odp^*-BsqVXSqmf)oqYES3tl*66F0YO=#d1 rlgk$~puxAlhuJ^ZHqgioD1o1DVtQEUit~KllU0$5nh)jV0N{TCC3Zqn diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-gray.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-gray.gif deleted file mode 100644 index cfb8a2f0961b880d9ecc9e59f831d0c0bf9d06db..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1230 zcmZ?wbhEHbOkikb_|5F}1vNN-#bFE}n2rob1X65+pkEe*DZwLSXy)sc-G6LrLE|#j%ny@ltx#{|>*k3`b zudj+f+$8$@s#fHh^zF++cYjOsT#=i)PgZ*SBbQFk<=6g7TzYe_x%fYqoR5WW_>5Nf zsIRkcJbHA@c(c>D3XzqU)=k#8J9nngIK5|{y|vw$2$RE?mT4~XtDRLEe|<_~c?_?$ zLGJZ!!S{W4%zp58Z=>w%X})`Qe0&`0sXRUALwVLJuj#KvHA1S2+ow&BYJYdfr2O^1 zna!)!@5=7^`T51=)#j2iwbhrWRX*39_q(R{^Y??#w#k`8!n#b?Ah=gT4^b_6Je!p-pqnUi6)T{Kw4)JLb3tD)cb}Z;R&ALM=NKo^J zQum3S7LQAK7iB!^v-vhdvhxz-&N&k%mqtvOXdV2 diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-red-line.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-red-line.gif deleted file mode 100644 index df9e749a8f1f58862588efc64988003efad01d51..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1877 zcmeH``BxGK0LPh{$5cGF%CuRcF0W^1+Eb91Y0har@ns%QJPI-bCps}CP-u#GY96he zH{=x}8cR_?6wMSBHp}~@d8B5Ec_ztT`#0A2hwu02&*#0br`JzT&Np-c8>+j2FWJW9 z|J$$i)xiJGfXTkfHvoVFVDp9i%O?Qp3V=f6d5==7Sk4KMl>Ucik`YxtvJ<)$%#TPKR% zdeBegW3Nr-TZ$_DvX!7#=EQu`)|{{_NO4?Hnuz--`I}N3UjF&+?uwLk+=>GJd{B_Tc2OKbjN9H> z96NPSF%oo|+^NT@plDh-RsN>!ws$&N>eV+-RSK`GN-+xQlcpP|{VXMbZmGY?Sg+bE z&yqDeRb-m~Xn;($Rkc9os0lNWR0x7V&viYtFw425?`)O{#Xnxi^Z-rV%z`xuPf1K3U`ignx^9LiY{9RF`M1 z((4&CBBq9gRTxIqvdNQH4XvU-teM=&r#I{BRpE@Mf`UowW*aYDTj; zR~d}wJj7bmv%$EvhL%3@95+YnP@jZFjkyaK?LZqem&Cp}E@#J}7%>obDszfKXbSed{!N zqe%A5h1G9<<|OWgt(pyPNUi%mt_OllWQ$!DHV#9VzJogSLla83`aMi%;zcml$vXr7 zf<%YcL08HgN8s@2tufz(==0;jh0Ny@q4f1T-P5MdE9;FzHSA-Pm3Wn^KX5K-#%-h+YndE*c}A#} z97|nymmXX*xOhw~p_=<#*Rp;q1c;i_)TkyvQ;xgVtY5mTyh_&|ZEzU`%%?)%UDt;N sUpBjNE)^Df<9oQ%i{r+6SwTgJWAz*lYeQMK?>m|{T3!EviV6VoFXq=mv;Y7A diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-red.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-red.gif deleted file mode 100644 index 3bbb3a157f1568d59d6db02b55a3b3fe9a1ff7a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1230 zcmZ?wbhEHbOkikb_|5q9rFMYXq;dkzBCUd%AXV z7f->2WoKqf=UU0E5MF-1&C2oHA5RfQ-wyu&du5`wWCYCfT`X0jHDP7Qa?|x$vA=>= zUtbk}xJmT)RjtT1>D!lu?*5kMxgs}ppRDxuM=qV7%dh>Fxb)^;bMb#JIUft%@ENV{ zQD0}@c=YI)@n)xQ6(TDyt(&ZGckWD~aeB`@duzKh5hjN(Ez?}&S39dT{`!=}@)%xg zgWT)eg75q8nEl}G-bUHi(|q^r`1m-~Q+ayKhw`jdUejNTYJ^l3w@;fM)&A~|N%`x2 zGn-ed-<93-^Ye?#tIZ{4YO60#t9-6I?{`h@=kEuf$II8+R(@HSYaUSgyf$2+OgK}0 zZsRjUi+L5dHILtK5edt9=qI|b{eIzIMl<7PRm>?O4!tnstX#kf7!b zrS20uEgqNfF3Nb+XY*}_WalNuopUBkE{&Kl(L5+ZuF(6`HI*Fyu5b4nE$kweHiYk+ hA)Dse=Ki!azG~*Access to all librarian functions - [%- CASE 'circulate' -%]Check out and check in items - [%- CASE 'catalogue' -%]Required for staff login. Staff access, allows viewing of catalogue in staff client. - [%- CASE 'parameters' -%]Manage Koha system settings (Administration panel) - [%- CASE 'borrowers' -%]Add, modify and view patron information - [%- CASE 'permissions' -%]Set user permissions - [%- CASE 'reserveforothers' -%]Place and modify holds for patrons - [%- CASE 'editcatalogue' -%]Edit catalog (Modify bibliographic/holdings data) - [%- CASE 'updatecharges' -%]Manage patrons fines and fees - [%- CASE 'acquisition' -%]Acquisition and/or suggestion management - [%- CASE 'tools' -%]Use all tools (expand for granular tools permissions) - [%- CASE 'editauthorities' -%]Edit authorities - [%- CASE 'serials' -%]Manage serial subscriptions - [%- CASE 'reports' -%]Allow access to the reports module - [%- CASE 'staffaccess' -%]Allow staff members to modify permissions for other staff members - [%- CASE 'coursereserves' -%]Course reserves - [%- CASE 'plugins' -%]Koha plugins - [%- CASE 'lists' -%]Lists - [%- CASE 'clubs' -%]Patron clubs - [%- CASE 'ill' -%]Create and modify Interlibrary loan requests - [%- CASE 'self_check' -%]Self check modules - [%- CASE 'stockrotation' -%]Manage stockrotation operations + [%- CASE 'superlibrarian' -%] + Access to all librarian functions + ([% name | html %]) + [%- CASE 'circulate' -%] + Check out and check in items + ([% name | html %]) + [%- CASE 'catalogue' -%] + Staff access, allows viewing of catalogue in staff client. + ([% name | html %]) Required for staff login. + [%- CASE 'parameters' -%] + Manage Koha system settings (Administration panel) + ([% name | html %]) + [%- CASE 'borrowers' -%] + Add, modify and view patron information + ([% name | html %]) + [%- CASE 'permissions' -%] + Set user permissions + ([% name | html %]) + [%- CASE 'reserveforothers' -%] + Place and modify holds for patrons + ([% name | html %]) + [%- CASE 'editcatalogue' -%] + Edit catalog (Modify bibliographic/holdings data) + ([% name | html %]) + [%- CASE 'updatecharges' -%] + Manage patrons fines and fees + ([% name | html %]) + [%- CASE 'acquisition' -%] + Acquisition and/or suggestion management + ([% name | html %]) + [%- CASE 'tools' -%] + Use all tools (expand for granular tools permissions) + ([% name | html %]) + [%- CASE 'editauthorities' -%] + Edit authorities + ([% name | html %]) + [%- CASE 'serials' -%] + Manage serial subscriptions + ([% name | html %]) + [%- CASE 'reports' -%] + Allow access to the reports module + ([% name | html %]) + [%- CASE 'staffaccess' -%] + Allow staff members to modify permissions for other staff members + ([% name | html %]) + [%- CASE 'coursereserves' -%] + Course reserves + ([% name | html %]) + [%- CASE 'plugins' -%] + Koha plugins + ([% name | html %]) + [%- CASE 'lists' -%] + Lists + ([% name | html %]) + [%- CASE 'clubs' -%] + Patron clubs + ([% name | html %]) + [%- CASE 'ill' -%] + Create and modify Interlibrary loan requests + ([% name | html %]) + [%- CASE 'self_check' -%] + Self check modules + ([% name | html %]) + [%- CASE 'stockrotation' -%] + Manage stockrotation operations + ([% name | html %]) [%- END -%] [%- END -%] [%- BLOCK sub_permissions -%] [% SWITCH name %] - [%- CASE 'circulate_remaining_permissions' -%]Remaining circulation permissions - [%- CASE 'force_checkout' -%]Force checkout if a limitation exists - [%- CASE 'manage_restrictions' -%]Manage restrictions for accounts - [%- CASE 'overdues_report' -%]Execute overdue items report - [%- CASE 'override_renewals' -%]Override blocked renewals + [%- CASE 'circulate_remaining_permissions' -%] + + Remaining circulation permissions + + ([% name | html %]) + [%- CASE 'force_checkout' -%] + + Force checkout if a limitation exists + + ([% name | html %]) + [%- CASE 'manage_restrictions' -%] + + Manage restrictions for accounts + + ([% name | html %]) + [%- CASE 'overdues_report' -%] + + Execute overdue items report + + ([% name | html %]) + [%- CASE 'override_renewals' -%] + + Override blocked renewals + + ([% name | html %]) [%- CASE 'manage_checkout_notes' %]Mark checkout notes as seen/not seen - [%- CASE 'manage_circ_rules' -%]manage circulation rules - [%- CASE 'manage_circ_rules_from_any_libraries' -%]Edit circulation rules from any libraries. If not set the logged in user could only edit circulation rules for its the own library (please note that manage_circ_rules is still required) - [%- CASE 'parameters_remaining_permissions' -%]Remaining system parameters permissions - [%- CASE 'manage_circ_rules' -%]Manage circulation rules - [%- CASE 'manage_sysprefs' -%]Manage global system preferences - [%- CASE 'manage_libraries' -%]Manage libraries and library groups - [%- CASE 'manage_itemtypes' -%]Manage item types - [%- CASE 'manage_auth_values' -%]Manage authorized value categories and authorized values - [%- CASE 'manage_patron_categories' -%]Manage patron categories - [%- CASE 'manage_patron_attributes' -%]Manage extended patron attributes - [%- CASE 'manage_transfers' -%]Manage library transfer limits and transport cost matrix - [%- CASE 'manage_item_circ_alerts' -%]Manage item circulation alerts - [%- CASE 'manage_cities' -%]Manage cities and towns - [%- CASE 'manage_marc_frameworks' -%]Manage MARC bibliographic and authority frameworks and test them - [%- CASE 'manage_keywords2koha_mappings' -%]Manage keywords to Koha mappings - [%- CASE 'manage_classifications' -%]Manage classification sources and filing rules - [%- CASE 'manage_matching_rules' -%]Manage record matching rules - [%- CASE 'manage_oai_sets' -%]Manage OAI sets - [%- CASE 'manage_item_search_fields' -%]Manage item search fields - [%- CASE 'manage_search_engine_config' -%]Manage search engine configuration - [%- CASE 'manage_search_targets' -%]Manage Z39.50 and SRU server configuration - [%- CASE 'manage_didyoumean' -%]Manage Did you mean? configuration - [%- CASE 'manage_column_config' -%]Manage column configuration - [%- CASE 'manage_audio_alerts' -%]Manage audio alerts - [%- CASE 'manage_sms_providers' -%]Manage SMS cellular providers - [%- CASE 'manage_usage_stats' -%]Manage usage statistics settings - [%- CASE 'edit_borrowers' -%]Add, modify and view patron information - [%- CASE 'view_borrower_infos_from_any_libraries' -%]View patron infos from any libraries. If not set the logged in user could only access patron infos from its own library or group of libraries. - [%- CASE 'modify_holds_priority' -%]Modify holds priority - [%- CASE 'place_holds' -%]Place holds for patrons - [%- CASE 'delete_all_items' -%]Delete all items at once - [%- CASE 'edit_catalogue' -%]Edit catalog (Modify bibliographic/holdings data) - [%- CASE 'edit_items' -%]Edit items - [%- CASE 'edit_items_restricted' -%]Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required) - [%- CASE 'fast_cataloging' -%]Fast cataloging - [%- CASE 'remaining_permissions' -%]Remaining permissions for managing fines and fees - [%- CASE 'writeoff' -%]Write off fines and fees - [%- CASE 'suggestions_manage' -%]Manage purchase suggestions - [%- CASE 'budget_add_del' -%]Add and delete budgets (but can't modify budgets) - [%- CASE 'budget_manage' -%]Manage budgets - [%- CASE 'budget_manage_all' -%]Manage all budgets - [%- CASE 'budget_modify' -%]Modify budget (can't create lines, but can modify existing ones) - [%- CASE 'contracts_manage' -%]Manage contracts - [%- CASE 'group_manage' -%]Manage basket groups - [%- CASE 'order_manage' -%]Manage basket and order lines - [%- CASE 'order_manage_all' -%]Manage all baskets and order lines, regardless of restrictions on them - [%- CASE 'order_receive' -%]Receive orders and manage shipments - [%- CASE 'period_manage' -%]Manage budgets - [%- CASE 'planning_manage' -%]Manage budget plannings - [%- CASE 'vendors_manage' -%]Manage vendors - [%- CASE 'currencies_manage' -%]Manage currencies and exchange rates - [%- CASE 'batch_upload_patron_images' -%]Upload patron images in a batch or one at a time - [%- CASE 'delete_anonymize_patrons' -%]Delete old borrowers and anonymize circulation history (deletes borrower reading history) - [%- CASE 'edit_calendar' -%]Define days when the library is closed - [%- CASE 'edit_news' -%]Write news for the OPAC and staff interfaces - [%- CASE 'edit_notice_status_triggers' -%]Set notice/status triggers for overdue items - [%- CASE 'edit_notices' -%]Define notices - [%- CASE 'edit_patrons' -%]Perform batch modification of patrons - [%- CASE 'edit_quotes' -%]Edit quotes for quote-of-the-day feature - [%- CASE 'export_catalog' -%]Export bibliographic and holdings data - [%- CASE 'import_patrons' -%]Import patron data - [%- CASE 'inventory' -%]Perform inventory of your catalog - [%- CASE 'items_batchdel' -%]Perform batch deletion of items - [%- CASE 'items_batchmod' -%]Perform batch modification of items - [%- CASE 'items_batchmod_restricted' -%]Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required) - [%- CASE 'label_creator' -%]Create printable labels and barcodes from catalog and patron data - [%- CASE 'manage_csv_profiles' -%]Manage CSV export profiles - [%- CASE 'manage_patron_lists' -%]Add, edit and delete patron lists and their contents - [%- CASE 'manage_staged_marc' -%]Managed staged MARC records, including completing and reversing imports - [%- CASE 'marc_modification_templates' -%]Manage marc modification templates - [%- CASE 'moderate_comments' -%]Moderate patron comments - [%- CASE 'moderate_tags' -%]Moderate patron tags - [%- CASE 'records_batchdel' -%]Perform batch deletion of records (bibliographic or authority) - [%- CASE 'records_batchmod' -%]Perform batch modification of records (biblios or authorities) - [%- CASE 'rotating_collections' -%]Manage rotating collections - [%- CASE 'schedule_tasks' -%]Schedule tasks to run - [%- CASE 'stage_marc_import' -%]Stage MARC records into the reservoir - [%- CASE 'upload_local_cover_images' -%]Upload local cover images - [%- CASE 'view_system_logs' -%]Browse the system logs - [%- CASE 'check_expiration' -%]Check the expiration of a serial - [%- CASE 'claim_serials' -%]Claim missing serials - [%- CASE 'create_subscription' -%]Create a new subscription - [%- CASE 'delete_subscription' -%]Delete an existing subscription - [%- CASE 'edit_subscription' -%]Edit an existing subscription - [%- CASE 'receive_serials' -%]Serials receiving - [%- CASE 'renew_subscription' -%]Renew a subscription - [%- CASE 'routing' -%]Routing - [%- CASE 'superserials' -%]Manage subscriptions from any branch (only applies when IndependentBranches is used) - [%- CASE 'delete_reports' -%]Delete SQL reports - [%- CASE 'create_reports' -%]Create SQL reports - [%- CASE 'execute_reports' -%]Execute SQL reports - [%- CASE 'add_reserves' -%]Add course reserves - [%- CASE 'delete_reserves' -%]Remove course reserves - [%- CASE 'manage_courses' -%]Add, edit and delete courses - [%- CASE 'configure' -%]Configure plugins - [%- CASE 'manage' -%]Manage plugins ( install / uninstall ) - [%- CASE 'report' -%]Use report plugins - [%- CASE 'tool' -%]Use tool plugins - [%- CASE 'delete_public_lists' -%]Delete public lists - [%- CASE 'upload_general_files' -%]Upload any file - [%- CASE 'upload_manage' -%]Manage uploaded files (Useless without upload_general_files) - [%- CASE 'access_files' -%]Access to the files stored on the server - [%- CASE 'edit_clubs' -%]Create and edit clubs - [%- CASE 'edit_templates' -%]Create and edit club templates - [%- CASE 'enroll' -%]Enroll patrons in clubs - [%- CASE 'edi_manage' -%]Manage EDIFACT transmissions + [%- CASE 'manage_circ_rules' -%] + + manage circulation rules + + ([% name | html %]) + [%- CASE 'manage_circ_rules_from_any_libraries' -%] + + Edit circulation rules from any libraries. If not set the logged in user could only edit circulation rules for its the own library (please note that manage_circ_rules is still required) + + ([% name | html %]) + [%- CASE 'parameters_remaining_permissions' -%] + + Remaining system parameters permissions + + ([% name | html %]) + [%- CASE 'manage_circ_rules' -%] + + Manage circulation rules + + ([% name | html %]) + [%- CASE 'manage_sysprefs' -%] + + Manage global system preferences + + ([% name | html %]) + [%- CASE 'manage_libraries' -%] + + Manage libraries and library groups + + ([% name | html %]) + [%- CASE 'manage_itemtypes' -%] + + Manage item types + + ([% name | html %]) + [%- CASE 'manage_auth_values' -%] + + Manage authorized value categories and authorized values + + ([% name | html %]) + [%- CASE 'manage_patron_categories' -%] + + Manage patron categories + + ([% name | html %]) + [%- CASE 'manage_patron_attributes' -%] + + Manage extended patron attributes + + ([% name | html %]) + [%- CASE 'manage_transfers' -%] + + Manage library transfer limits and transport cost matrix + + ([% name | html %]) + [%- CASE 'manage_item_circ_alerts' -%] + + Manage item circulation alerts + + ([% name | html %]) + [%- CASE 'manage_cities' -%] + + Manage cities and towns + + ([% name | html %]) + [%- CASE 'manage_marc_frameworks' -%] + + Manage MARC bibliographic and authority frameworks and test them + + ([% name | html %]) + [%- CASE 'manage_keywords2koha_mappings' -%] + + Manage keywords to Koha mappings + + ([% name | html %]) + [%- CASE 'manage_classifications' -%] + + Manage classification sources and filing rules + + ([% name | html %]) + [%- CASE 'manage_matching_rules' -%] + + Manage record matching rules + + ([% name | html %]) + [%- CASE 'manage_oai_sets' -%] + + Manage OAI sets + + ([% name | html %]) + [%- CASE 'manage_item_search_fields' -%] + + Manage item search fields + + ([% name | html %]) + [%- CASE 'manage_search_engine_config' -%] + + Manage search engine configuration + + ([% name | html %]) + [%- CASE 'manage_search_targets' -%] + + Manage Z39.50 and SRU server configuration + + ([% name | html %]) + [%- CASE 'manage_didyoumean' -%] + + Manage Did you mean? configuration + + ([% name | html %]) + [%- CASE 'manage_column_config' -%] + + Manage column configuration + + ([% name | html %]) + [%- CASE 'manage_audio_alerts' -%] + + Manage audio alerts + + ([% name | html %]) + [%- CASE 'manage_sms_providers' -%] + + Manage SMS cellular providers + + ([% name | html %]) + [%- CASE 'manage_usage_stats' -%] + + Manage usage statistics settings + + ([% name | html %]) + [%- CASE 'edit_borrowers' -%] + + Add, modify and view patron information + + ([% name | html %]) + [%- CASE 'view_borrower_infos_from_any_libraries' -%] + + View patron infos from any libraries. If not set the logged in user could only access patron infos from its own library or group of libraries. + + ([% name | html %]) + [%- CASE 'modify_holds_priority' -%] + + Modify holds priority + + ([% name | html %]) + [%- CASE 'place_holds' -%] + + Place holds for patrons + + ([% name | html %]) + [%- CASE 'delete_all_items' -%] + + Delete all items at once + + ([% name | html %]) + [%- CASE 'edit_catalogue' -%] + + Edit catalog (Modify bibliographic/holdings data) + + ([% name | html %]) + [%- CASE 'edit_items' -%] + + Edit items + + ([% name | html %]) + [%- CASE 'edit_items_restricted' -%] + + Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required) + + ([% name | html %]) + [%- CASE 'fast_cataloging' -%] + + Fast cataloging + + ([% name | html %]) + [%- CASE 'remaining_permissions' -%] + + Remaining permissions for managing fines and fees + + ([% name | html %]) + [%- CASE 'writeoff' -%] + + Write off fines and fees + + ([% name | html %]) + [%- CASE 'suggestions_manage' -%] + + Manage purchase suggestions + + ([% name | html %]) + [%- CASE 'budget_add_del' -%] + + Add and delete budgets (but can't modify budgets) + + ([% name | html %]) + [%- CASE 'budget_manage' -%] + + Manage budgets + + ([% name | html %]) + [%- CASE 'budget_manage_all' -%] + + Manage all budgets + + ([% name | html %]) + [%- CASE 'budget_modify' -%] + + Modify budget (can't create lines, but can modify existing ones) + + ([% name | html %]) + [%- CASE 'contracts_manage' -%] + + Manage contracts + + ([% name | html %]) + [%- CASE 'group_manage' -%] + + Manage basket groups + + ([% name | html %]) + [%- CASE 'order_manage' -%] + + Manage basket and order lines + + ([% name | html %]) + [%- CASE 'order_manage_all' -%] + + Manage all baskets and order lines, regardless of restrictions on them + + ([% name | html %]) + [%- CASE 'order_receive' -%] + + Receive orders and manage shipments + + ([% name | html %]) + [%- CASE 'period_manage' -%] + + Manage budgets + + ([% name | html %]) + [%- CASE 'planning_manage' -%] + + Manage budget plannings + + ([% name | html %]) + [%- CASE 'vendors_manage' -%] + + Manage vendors + + ([% name | html %]) + [%- CASE 'currencies_manage' -%] + + Manage currencies and exchange rates + + ([% name | html %]) + [%- CASE 'batch_upload_patron_images' -%] + + Upload patron images in a batch or one at a time + + ([% name | html %]) + [%- CASE 'delete_anonymize_patrons' -%] + + Delete old borrowers and anonymize circulation history (deletes borrower reading history) + + ([% name | html %]) + [%- CASE 'edit_calendar' -%] + + Define days when the library is closed + + ([% name | html %]) + [%- CASE 'edit_news' -%] + + Write news for the OPAC and staff interfaces + + ([% name | html %]) + [%- CASE 'edit_notice_status_triggers' -%] + + Set notice/status triggers for overdue items + + ([% name | html %]) + [%- CASE 'edit_notices' -%] + + Define notices + + ([% name | html %]) + [%- CASE 'edit_patrons' -%] + + Perform batch modification of patrons + + ([% name | html %]) + [%- CASE 'edit_quotes' -%] + + Edit quotes for quote-of-the-day feature + + ([% name | html %]) + [%- CASE 'export_catalog' -%] + + Export bibliographic and holdings data + + ([% name | html %]) + [%- CASE 'import_patrons' -%] + + Import patron data + + ([% name | html %]) + [%- CASE 'inventory' -%] + + Perform inventory of your catalog + + ([% name | html %]) + [%- CASE 'items_batchdel' -%] + + Perform batch deletion of items + + ([% name | html %]) + [%- CASE 'items_batchmod' -%] + + Perform batch modification of items + + ([% name | html %]) + [%- CASE 'items_batchmod_restricted' -%] + + Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required) + + ([% name | html %]) + [%- CASE 'label_creator' -%] + + Create printable labels and barcodes from catalog and patron data + + ([% name | html %]) + [%- CASE 'manage_csv_profiles' -%] + + Manage CSV export profiles + + ([% name | html %]) + [%- CASE 'manage_patron_lists' -%] + + Add, edit and delete patron lists and their contents + + ([% name | html %]) + [%- CASE 'manage_staged_marc' -%] + + Managed staged MARC records, including completing and reversing imports + + ([% name | html %]) + [%- CASE 'marc_modification_templates' -%] + + Manage marc modification templates + + ([% name | html %]) + [%- CASE 'moderate_comments' -%] + + Moderate patron comments + + ([% name | html %]) + [%- CASE 'moderate_tags' -%] + + Moderate patron tags + + ([% name | html %]) + [%- CASE 'records_batchdel' -%] + + Perform batch deletion of records (bibliographic or authority) + + ([% name | html %]) + [%- CASE 'records_batchmod' -%] + + Perform batch modification of records (biblios or authorities) + + ([% name | html %]) + [%- CASE 'rotating_collections' -%] + + Manage rotating collections + + ([% name | html %]) + [%- CASE 'schedule_tasks' -%] + + Schedule tasks to run + + ([% name | html %]) + [%- CASE 'stage_marc_import' -%] + + Stage MARC records into the reservoir + + ([% name | html %]) + [%- CASE 'upload_local_cover_images' -%] + + Upload local cover images + + ([% name | html %]) + [%- CASE 'view_system_logs' -%] + + Browse the system logs + + ([% name | html %]) + [%- CASE 'check_expiration' -%] + + Check the expiration of a serial + + ([% name | html %]) + [%- CASE 'claim_serials' -%] + + Claim missing serials + + ([% name | html %]) + [%- CASE 'create_subscription' -%] + + Create a new subscription + + ([% name | html %]) + [%- CASE 'delete_subscription' -%] + + Delete an existing subscription + + ([% name | html %]) + [%- CASE 'edit_subscription' -%] + + Edit an existing subscription + + ([% name | html %]) + [%- CASE 'receive_serials' -%] + + Serials receiving + + ([% name | html %]) + [%- CASE 'renew_subscription' -%] + + Renew a subscription + + ([% name | html %]) + [%- CASE 'routing' -%] + + Routing + + ([% name | html %]) + [%- CASE 'superserials' -%] + + Manage subscriptions from any branch (only applies when IndependentBranches is used) + + ([% name | html %]) + [%- CASE 'delete_reports' -%] + + Delete SQL reports + + ([% name | html %]) + [%- CASE 'create_reports' -%] + + Create SQL reports + + ([% name | html %]) + [%- CASE 'execute_reports' -%] + + Execute SQL reports + + ([% name | html %]) + [%- CASE 'add_reserves' -%] + + Add course reserves + + ([% name | html %]) + [%- CASE 'delete_reserves' -%] + + Remove course reserves + + ([% name | html %]) + [%- CASE 'manage_courses' -%] + + Add, edit and delete courses + + ([% name | html %]) + [%- CASE 'configure' -%] + + Configure plugins + + ([% name | html %]) + [%- CASE 'manage' -%] + + Manage plugins ( install / uninstall ) + + ([% name | html %]) + [%- CASE 'report' -%] + + Use report plugins + + ([% name | html %]) + [%- CASE 'tool' -%] + + Use tool plugins + + ([% name | html %]) + [%- CASE 'delete_public_lists' -%] + + Delete public lists + + ([% name | html %]) + [%- CASE 'upload_general_files' -%] + + Upload any file + + ([% name | html %]) + [%- CASE 'upload_manage' -%] + + Manage uploaded files (Useless without upload_general_files) + + ([% name | html %]) + [%- CASE 'access_files' -%] + + Access to the files stored on the server + + ([% name | html %]) + [%- CASE 'edit_clubs' -%] + + Create and edit clubs + + ([% name | html %]) + [%- CASE 'edit_templates' -%] + + Create and edit club templates + + ([% name | html %]) + [%- CASE 'enroll' -%] + + Enroll patrons in clubs + + ([% name | html %]) + [%- CASE 'edi_manage' -%] + + Manage EDIFACT transmissions + + ([% name | html %]) [%# self_check %] - [%- CASE 'self_checkin_module' -%]Log into the self check-in module. Note: this permission prevents the patron from using any other OPAC functionality - [%- CASE 'self_checkout_module' -%]Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID - [%- CASE 'manage_rota_items' -%]Add and remove items from rotas - [%- CASE 'manage_rotas' -%]Create, edit and delete rotas + [%- CASE 'self_checkin_module' -%] + + Log into the self check-in module. Note: this permission prevents the patron from using any other OPAC functionality + + ([% name | html %]) + [%- CASE 'self_checkout_module' -%] + + Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID + + ([% name | html %]) + [%- CASE 'manage_rota_items' -%] + + Add and remove items from rotas + + ([% name | html %]) + [%- CASE 'manage_rotas' -%] + + Create, edit and delete rotas + + ([% name | html %]) [%- END -%] [%- END -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt index f4d1c2a..503cfbf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt @@ -5,7 +5,6 @@ [% PROCESS 'permissions.inc' %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Set permissions for [% patron.surname | html %], [% patron.firstname | html %] -[% Asset.css("css/treeview/jquery.treeview.css") | $raw %] [% INCLUDE 'doc-head-close.inc' %] @@ -27,56 +26,63 @@

Set permissions for [% patron.surname | html %], [% patron.firstname | html %]

- -
    - - [% FOREACH loo IN loop %] - [% IF ( loo.expand ) %] -
  • - [% ELSE %] -
  • - [% END %] - [% IF ( loo.checked ) %] - [% IF disable_superlibrarian_privs && loo.bit == 0 %] - - - [% ELSE %] - - [% END %] - [% ELSE %] - [% IF disable_superlibrarian_privs && loo.bit == 0 %] - - [% ELSE %] - - [% END %] - [% END %] - - [% PROCESS main_permissions name=loo.flag %] - [% IF ( loo.sub_perm_loop ) %] -
      - [% FOREACH sub_perm_loo IN loo.sub_perm_loop %] -
    • - [% IF ( sub_perm_loo.checked ) %] - - [% ELSE %] - - [% END %] - - [% PROCESS sub_permissions name=sub_perm_loo.code %] -
    • - [% END %] -
    -
  • - [% ELSE %] - - [% END %] - [% END %] - - -
- -
Cancel
+
+
+ + Cancel +
+ Filter: + +
+
+
+ [% FOREACH loo IN loop %] + [% IF ( loo.expand ) %] +
+ [% ELSE %] +
+ [% END %] + [% IF ( loo.checked ) %] + [% IF disable_superlibrarian_privs && loo.bit == 0 %] + + + [% ELSE %] + + [% END %] + [% ELSE %] + [% IF disable_superlibrarian_privs && loo.bit == 0 %] + + [% ELSE %] + + [% END %] + [% END # /IF loo.checked %] + + [% IF ( loo.flag == "superlibrarian" ) %]
This permission grants access to all areas. If selected, specific sub-permissions cannot be selected.
[% END %] + [% IF ( loo.sub_perm_loop ) %] + Hide details + Show details +
+ [% FOREACH sub_perm_loo IN loo.sub_perm_loop %] +
+ [% IF ( sub_perm_loo.checked ) %] + + [% ELSE %] + + [% END %] + +
+ [% END %] +
+ [% END # /IF loo.sub_perm_loop %] +
+ [% END # /FOREACH loo %] +
+
@@ -92,16 +98,48 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] - [% Asset.js("lib/jquery/plugins/jquery.treeview.pack.js") | $raw %] - + [% Asset.js("lib/hc-sticky.js") | $raw %] [% END %] -- 2.1.4