Bugzilla – Attachment 84701 Details for
Bug 11375
Improve patrons permissions display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11375: Improve patrons permissions display
Bug-11375-Improve-patrons-permissions-display.patch (text/plain), 86.07 KB, created by
Owen Leonard
on 2019-02-04 13:19:02 UTC
(
hide
)
Description:
Bug 11375: Improve patrons permissions display
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-02-04 13:19:02 UTC
Size:
86.07 KB
patch
obsolete
>From c8180aa87415a786774a81d6867bbbd6dbfbb69c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 | 784 +++++++++++++++++---- > .../prog/en/modules/members/member-flags.tt | 225 +++--- > 20 files changed, 847 insertions(+), 353 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(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?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("<J 14=\\""+k.5+"\\"/>").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 8bc0726..915b93d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -537,19 +537,6 @@ label, > font-weight: bold; > } > >- // Permissions Labels >- &.permissioncode { >- font-style: italic; >- >- &::before { >- content: "("; >- } >- >- &::after { >- content: ")"; >- } >- } >- > &.required { > color: #C00; > } >@@ -3709,10 +3696,6 @@ span { > font-weight: bold; > } > >- &.permissiondesc { >- font-weight: normal; >- } >- > &.required { > color: #C00; > font-style: italic; >@@ -4338,6 +4321,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<Y(YxXkuW@%1P?kzHnua<CVQNmYpU4fgrb_z9wFW0SG{9n3%02RPU?_ >z=v;AZi8)_)=1mzB$t8lR-RkpPAIPyPY|P?1m{Q2FN$#NO0w%KpR*sg3>!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?wbhEHb6ky<EIK<2_Jxcz;u8RMU=B+K({SO3}n&)Sz9Bwz!VE_V<8U|)Fk6m~E >zy+6TxJwaUVpf|_lBLSi-b7EF8&3MH%(`ZkYkA&;G_iW5>4lrdiO0bk3ZcRLy6E?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 >zcmZ?wbhEHb6ky<EXkuWT9wq-^SH=HF^VSyY{s)3f&GR!<4!4`=FaQBa4HL7u$F4j7 >z-k)H;o**uF(3@lOkpR(^IWeo4W?1bh@Zr&1yX<JHh~@kLk`C|LV;I<uC>=hKW2GJ7 >I#Kd3?0MGg<m;e9( > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/minus.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/minus.gif >deleted file mode 100644 >index 47fb7b767c4e4659c2b42130a2dd7f46dd9a74eb..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 837 >zcmZ?wbhEHb<YeGv_|5<V4Gj%odXyLqfe{x1ia%Kx85sUE=zx3<$`cG6N({^#G9Dl1 >hA8h{5qGYq8An_1T-eby-3yH4nyy8N4Boq`FtN|0o6bk?V > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/plus.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/plus.gif >deleted file mode 100644 >index 6906621627d48e3008a71dd6de6e4f9763da59f9..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 841 >zcmZ?wbhEHb<YeGv_|5<V4Gj%odXyLqfe{x1ia%Kx85sUE=zx3<$`cG6Y7ERAG9Dl1 >mA8h{5BF9n?u+XuMO_XVdg<)btE3dxYnGOSG$0kNb25SH}krMC# > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-black-line.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-black-line.gif >deleted file mode 100644 >index e5496877a07487f2f7437a9f87e07c590b51160a..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1877 >zcmeIx30D#Z0Kjo(<}nqItuk#MsLSiMvh1nI%OmGJp7=74Cmsc<ffJi}5GXVS&(u6x >zId8}-L{yfdfGFOmuvy+G%_B7r%+wNPug|gmAK~}j-_`AB8{4}YfE|Scz}LPC{I3NJ >zKgoXs0LTEAUlhJP0Z@_wWXcx~)d5{8N@}2>fG1)nGEmv+vFQVlOP1ypyEg+GkNR`< >z^=}p0#2C2dndnyA7hSFr<Xfuu8Mlotdlp>BjL$0jL_o`oqW$*H7rt|$p3g(yp3XB9 >zlzV5%LF}xNV^#je;YsG!=DrNSF8CSRQ_BfP@M}u2u3r?a1u@r0hWVj`+ang%OW6nL >z1y16rqcf`5MlnAfhW7pSkEXdEt5Ul@@Tcf7{xkK6R8Qt_OTFcg1Olfm_Wo#%SxpN^ >z2NOBMu>Dsa5*QaX-Wt4`%7yKFPcvN<UFT+EC6j$=Gk!V6ZRk}_<q^Scw(8@?Br|eB >z$i?q1@VoqF=XfQFm=B_Vh&3T)#}5zI#Ef(1M7!go{Jf1D!cbhy$Nl9A{YSDfe*;3N >zCaavNVs2CMyPDIXL9*CwV38yjQd^m#8#o|N(@XtDj0J@&y-nY&JS@wUG})AAnEa@X >zAYW22MPw`T(-9;v981k{I59QOcGR*p&Va-}U&?R+P2J0cHfV=s`E+273;o@TOrF95 >zkxS3K;*mzr1M=&tih?L>Vb4)HgDb^h{D;*g$kDd&60EQ&q7*-0w_2Vkw;oYJ0-|b* >zlR)OR6tWfWeh%Dey81=D9m=dK1KwU+ogMSpG}kxeTht4xS0JjYEOVV&N2B0S)eN*u >zC$fe~m^QC(75r&IXHUPpS6in5qrK$iPg^v3>cA{%L+!ZwMiEdYipjb~qrKw5HzJ#d >zV>aqr284(7*0Fp%y={uZrn8ot@eS-XK6@*FH`QaC+v!e={!5w+rnm2}%>2|T8;4!) >z5NL52JQWN3#x6By>1F<$`|wVWTxfk$w=Qg0(yy21DPe&kRCfn9Dbfakq}iS^Xmara >zruUMfC1ymi`!S{mj7Ve(9b}f*MjXF`TpNTWl<W<<7|q2Bpo|M~Lq5F3Yj6BLO0CCW >zu&BKWuY{<plK}<vS5raM&A3Ta?#TX3Sa(v(Eb=useikb#O_;+k$mj<PiKn&_7D?)8 >z)=ZMoCDvQ=RRUHBcb;!qiU*@@mopF@td(rciH*oN6o^}*LPK!NWm#LyH5!$GTVX`& >z;a8c&dAs+mLuKGi_Dn<UyE?^C_ByX%9xU<H4Yl7GViPz!B6ano4=f)B`y&Ujjo%%{ >zY;*PpL{jd-SOJmyX^P6@9xgM99Y<^3ypz%0G^p&j(}O|WlcwC@e%>Dnl>rWUpU-Fz >z1xAY}(pHDlz`q}<krq#BPC}He9wf_gDinTTIjY3$r0A&{p6<WMS51CE+H@8l-PXQw >zRwyEwc-~R9c*h3_8dDWXhCm~hv+BHenuD}b!wRW=69mj7LEhidf(G0)zJ7%a4Z8b1 >i%%=C8o@S<hA^dC|%f&)RlI8WDqJ~t`dLl0m0RIOzVnCAs > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-black.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-black.gif >deleted file mode 100644 >index d549b9fc56ced0c90bb7ed01c77be78b67fd8d67..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1216 >zcmZ?wbhEHbOkikb_|7m2Mnhmkhk)Ww7Dfh!{|q{yPypo#29Ey>|2btmHY_;U%pt55 >zbK--1Lpy_rQ;x^RMMt|?l#}k9*tpoWSI)UhgtKVL$;leQt86$oK0Q3uz*9~~a`Us} >zjS88!?(8&B_nYS+=~nV`L+XXalJ#6yI=`$qztnfJlj(_&SANso)<&&eC8~LSo#Xzd >zr<!GJ&TdLeUgRr1>1EV5*}I31S_D4wURA8W&vl1+{{1}-%-n3<Ti+#2F5*|7x3a?U >z-Z7(2q1HWyhEI3&=qJ~$*;({(|6I%VX_i$gFD@+#EVfx2m6^S8X8iXa*;@wpce6&$ >zzWP?cH2>y-W^VC6Kh0B4A1>Z)cJD{#`zIBu>8<bP?0od<La_hYzR$+r-#<9qJy(AJ >z>^<MET~2?*);Fj6_nY@CFPr_JQ&afy<K$%i{qlbT7EeC8eQs&{*YB})hwr-IZ{jg~ >zkx<JmbYo`A?zPM1T9Xq!X0{!-eetlJ>zBEFjWX8?nR-`Wkp*?Cn=0mYtN(g_x83Ag >zMshA+(TzEEV$ZHE?i75ck<x6%CibXNS8c|U0uG~@kG!?DelD6~sAQ=++4$ayr_*A} >OUOt_kASEKeU=09$irB#b > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-default-line.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-default-line.gif >deleted file mode 100644 >index 37114d3068e0a787dd44a39430a8fc44d1963dcf..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1993 >zcmeH`{W}u~0LLe9$&r@`(ZXFlO>r4TVtHG0JrO$Enq6XbCo|$|a&v@;)39R3X0LXK >z=4C5;$$F8ukhcpHt9h#|Z}G%v+dcJfT;CtQ-=9C9=lPxpf_ivHn*f&d)&O6Uk&*Fr >zztuMb|2qTrN*yf#Km$1Nh5XAW09!Qxje#w!f##d3Weh^%ezb4RHMH}qgq?N>%r^k5 >zhj5M29R-#U*YEa+*>{!bg)r&_S7N*KTu!yGdhlq^%Z{9zMGDQ)eI<}UJ(UMPCbY;M >zvllJg5gpD6Azb)FR9y4#tw{Tec)?5bncDM@@-br;v!iS@ntF;{x>wqO9T|?VFmpzT >z<CkB&^dfS@gm`89YPTC#F3!+5Y!{xr6hkH8p?XK*zoHps|HR39gy4}Lm^s*Tp5zug >zR1z8<fhl*tI0E$z$+6o=M2+z<i*1EJU&YE0czu0!xgc^Pv#=tNdsc{;Wzx$^)5+K4 >z6t#`b!)kI`{M!W6G)?_M$>;fHVecYTQ=v*+Ym);btB~p|8@=<84j@I7qIs!>qhv@; >z1(eJQ`*ljXoWj|YY77;~vfc-s1?J30uTyU>CwWxmC{uC3JXP^})h#WC2Q6Q>2}dh1 >zcq*XfZFX&yXCIEpo4UPomP9A)+9IVF0Y6$f6g%3$872E%%Nax`KPlsmOPDqDF4zI? >zSbF4BC;K+)X6keqq{Nz4?$3a;NGF@5tcsAQ*6hmgK{%TdIa$so2hB-mNa;5W-qA2- >z8`bnAhoc<E@2=N5%v3+oB^o;HdNupE3!-Y)pO$m)=~a7e<`~Swh&d()N}gj?ZWG0E >zXzdzMO&x16uIAp~lQlKmI>{WUzTpKZ{$8sL5zp;dAjj7~R*T{ro<T3y@jJt6>+bjX >zC=NX64_09Azeep!crc#emC*dA+KDTgre1ayzvDV##Y++|?88;rWvt}$q+(H`i5RPS >zEHN9edot#L<UU<+Mb@`&_>H?f-f_})iLD)jY-ra{u59Qq%o=a#+)lJ@>@q)xJoJ3$ >zC30i;uGaC!9^jB|Q?KI`vgyUXl}gucr_J$?)rZWzc?0f_c;28VxP>?5?XTkX`=0bp >zsd70N<vtvkjOUL8Wwr1}PZ3poX(-eC{xGQ7i2v$LYwxF5DIHO3<5%AnuF2wl(X_Cu >z@mSTh;mq!+^@&^s#p89>wTbl+Lav>1lvoy}l$LQQ%CUlL65(s3k4oViy0(u<&T*uQ >zCTqc{qw;%cYS9$WA0?h{4yTG|#4$4Q?4#t}n@dl!P&;uQVA8R|HlpNVX)kkk%iItT >z)uQMtNN@Qdt&n&xPqeC4>+&I#Wd7|GRkEO1kx3R8wSkY8rZwz`s-8aVF?GLU@t9_8 >zrD|0N=Dh{cmochMTQlkO*3BnmzDcGjzt8j8R?~OmLo035Z7an1d0*CQ)_K)7BE)2Y >zkgWpCHK(nPTNwA}=w{2c(4^y*&P6wk_;T$eD_^_d{#*;4N!{uklCMKTf1X{yr2bti >zzumVJ_he@>5-)Z>GylmnHFyWzlGoV=;x6T{txOuWS^2w$nf~>ITa3{F$<KYZsPJG) >z%yv1>-_yqw6wR74o)-lATn!~abYe|(Jp=qK2Z~Mv#F|+M1E7Zo2t_F@i)9itD80A@ >z!=JWtheLy@ro^PxX&YboiBL)Loiw)@+fZv*gz@0roa`BUbU6&+Jh<Pc3w9g;@cIvN >CM1`3E > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-default.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-default.gif >deleted file mode 100644 >index a12ac52ffe4d085657aaf45db3cf5717c751230c..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1222 >zcmZ?wbhEHbOkikb_|5<V4Gj%odXyLqfe{x1ia%Kx85sUE=zx3<$`cG6{~7*s%6M#8 >zaIl#}SS#kl2l<9}1`($mkBy6tcC#oa-8r#wv1_lKbC(Eb(UOysHG)^!NG@3FJzYDw >zi>F}1vNN-#bFE}n2rob1X65+pkEe*DZwLSXi!o7KG!HJYnd?<+74YK9YG>B8y}v#$ >z4PTdVxGU6Z+nUJb(dSpiS{vy`Ps;C})+4q3p-ZRd>!LZ`7uVifRnN>VcjoGA??Z~) >zf4QCsFnrwCC;z;pV~S4jNfG7bZ7V8^pUs+QDV-;|Ys;0R%YxUttlhQM^V+hXyW%vY >z%kJ#vEL=V9>`mkMHxD#(_gl~UQm~6Px4muESBs+6=T0j1o(TDw{48a0^7ef@KYw_1 >zXL0vpdH;QTD!cYCUVc2rvi#n)*ZtSU<m-R@`TS$5nE3nHA7%d<Oqa{13Wt7=ZMbRq >z{eA;mtGZ;xPgjkHE$6PP&uKlF=rJRYy-*^$Me3ZGQme`~HpS+Xj5ii^Y4TajP32^| >z9$#R5iepyU@2M*u_u2e2RjN^7dY<U^{_Bca&2C0*DU<5wu6WSvzpg_mR4*)TL4AN+ >Z_~V@DUC&e|C$wokn~^fjGTMQ`8UP!b*<Ant > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-famfamfam-line.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-famfamfam-line.gif >deleted file mode 100644 >index 6e289cecc51b59a01c1278ce95653badf4e643de..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 807 >xcmZ?wbhEHbWMp7u_|7m2Mnhmkhk)Ww7Dfh!{|q{yPypo#1`Za6|Ew$w)&O`M20Z`( > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-famfamfam.gif b/koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-famfamfam.gif >deleted file mode 100644 >index 0cb178e89925dde14c2ea46ede7ed0152d6fde00..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1280 >zcmZ?wbhEHbOkikb_|5<VhS?I9#fnbFia{-g#dDJPIx+0^Vz?H?aV$#lUbf=*VutV4 >z5-nSkd-f(z*;@U+#p(On;wf8umhPRi_1cuJ$JXw=wB+8>mgj4Go^PG<e(RKL&-ebn >zwDtf0|6sF6iO~=k)FGhwlZBCi;Xi{8$d#Zx!NBpK;XkL0$A$$5n>mEFVorRJZ)j%_ >zamw-7xaep%i*nMP6B`%1_R2YTiEtJzIXPJ)cvZ~FO-oNtH%LA;NArSHBNL0-g*!7h >zI5Bfc%Lr5)*sS5mB%)DL@W7$r;&KmbkEH?+R$gS}lPbx$a3w2{lSL*#!0U>(KPNL2 >z&xC|+Yj1BaczkNE_jbLrlggqWosBMBbfmq;{2gykk-@{m9m3jiXLfA7&BMu~vg5&w >zWHweQ3zvWi3yqGkNGTX3Feo-Y?`E^`czfW$fy{1BC4-0!42>_Zix{fR=zYMDdPhXj >z`ycO~9UmW`n5;d0$DD-^Pt^&#vH#n%^T4ZXo3rnq+q*k-wnb^t-S3=Jbjp`_&9u5J >zSDJP8ZN%21*!8k&B0k@_xGMGa-u=L=&1NA`c2;nQgv(Xm_Suc63}?(~KH;eGphZNE >zJ<jj$MDZ&D&sDdEgul^zDp&q7mo=$2vG-_VUFO=*husFpDrU4CyBIO2w?;E#Lf`U- >zI}{r1PH8-u;POf3PRiZbX*bj6=CaSqSaNq+Y}V?n$6|9fUsX#j+x78T^rVT3kxyo% >zOj{W=!Inu<G2zn2%xAL;j%hxh(<AFSr_3ws*v+X6d&8v4L%dR#PTq7eO}aex+Benm >UvP&;tES}(|^>PV2D+_})00hY#ivR!s > >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<B6k9iY6vZ9BD#g#9dlPSLROY >zYDAEgkVFVof@ITb-K29A)rz`WA$#_3tluBL-=9C9_r6!J{bcWOTOF_^zYjP`YHI3# >z`?bCr_}>{g`&sTA06+?`JRv{%1VB*=kSggPTmbZ?E2@Hm10RaqGJr~M_swEK9(fuU >z9bXMur@nY#Xn3Q<KF;WBp{ZWIQ<-%gzsOQ;(4=d8*}M2M=Jl+SZzQzJIL3eHOvyVB >z%9%p+&FRAP{Oap@G7v{Q<V0OSc|?l2ow*;~zYnfOePsED9`ceLqURqC>p;v6X2AT> >zA>EM+>y@m1^a49s_E1X&+bZH^!_a=e{N6S<U{mQh2>u)s&U>sDnd!~=b?JFEB#FT8 >zioZMFaK52~t&52oqdWW~2MJ1ue%%?en#qCfU7u!nC|sSJi5E`}X3h8)ly{+5*|mp+ >zYqNE`8<UKv1px=Yv%u>MkZN-)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!0A<hyD*nB+hbOP6vyKvQ>ep)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%XgkyEBd6Ds8uO<l4NU9a >zTba4gD}4>K?%`{)>0D(Cr`A4IcZoG`&U18YKqjoYtzQo|Dt=**<t=7{B2~7BHp!9} >zzPR0qK5TkUAM@Nw!4fm3(0?B@07fJ;1TIob+cDSgAhyGhq>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*)mQYPC<rCAF >z&e~-oKH|4WF(27`LqZ8>f1;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_|5<V4Gj%odXyLqfe{x1ia%Kx85sUE=zx3<$`cG6{~7*s%6M#8 >zaIl#}SS#kl2l<9}1`($mkBy6tcC#oa-8r#wv1_lKbC(Eb(UOysHG)^!NG@3FJzYDw >zi>F}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??#<K=5@E59tvH4i9#UK_4ZCY-50 >zxAB>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%mqtvOXdV<HSLl7}no5p;*SGtP7IqO!8^ZU^ >hkWKS!bAMVIUp4b_qTRI2XEQUFt$a3%gO!EB8UR~(+I#>2 > >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=f6<lb38SBkneC^Yzi)GZaL;db957UYqw >zcMklz&+gvKyi=#H7CFV8_RKdos&Of{s}>d5==7Sk4KMl>Ucik`YxtvJ<)$%#TPKR% >zdeBegW3Nr-TZ$_DvX!7<NAyT_P|2+%D@UsUR$v$6DC42c7%S`*EzBq|8s37O=}m<P >zV#C@|bE{?CUF;k$QTgDg7NJQh%z$G9e)+w5rpLYv+zZ){i4;E4L8bYye_eP{0ZkzD >z+Tw2y*IL%L@C<QLLoDZiRG=YuqDNc9mecs~9luGohnnZiRJ?4wH+?EFx1<fb%&R&e >zdrenwuZ^>#=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`x<L}vSU >z5X_2#yo=2r!b8vtk9_fH)5pOD_0`3pw3W!mnB4xQl1Sm*no{&|+pSW9xENJNnyp{1 >zNK{%yRZ@YNx{@T2RUIwWo_ISK;Wk<G1P{hoR%asG>uPf1K3U`ignx^9LiY{9RF`M1 >z((4&CBBq9gRTxIqvdNQH4XvU-teM=&r#I{BRpE@Mf`UowW*<Yi4P&64*w7>aYDTj; >zR~d}wJj7bmv%$EvhL%3@9<z0%fW&N@pmCX;#b=~O?uwB6zF;%$$_IX@HzVdxc`}6A >zzOyuSwo@?*x9bq;^H>5+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<CwgmovFy~q?T#)D?WajASp|jA<Ze6 >zyK{-k?-S;!I#|wBlBq4{P3n0vL5y&pZCSuWu+EE_$PUg@4(`xN5)c6-F3@4&#KrRL >z_v{r0olIO}#Tb*8*_2uEyVikn$U1kbG5&46S_F4hP&f;b`4~mGtPOC<ybXztPSQt? >zKa0D~Lw+D_4&pxWcKRf8{_aR2g}*;R7x4EM*_4ihm2Sb|@Mbzp@wxK~i?St8xyb*t >zGZ3Kw><K;{)uo6`=MUwru1A1>-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_|5<VU(3qC^e8bJ0wXR26o0ZXGBEsS&;j`zlqVQC{xkgNl=0ZG >z;9xU{uvW~85AqG|3?fcB9vc@O?PgI<x^rUVV%J_d=PnV>q9rFMYXq;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<<BsaNTV9pcj>7PRm>?O4!tnstX#kf7!b >zrS20uEgqNfF3Nb+XY*}_WalNuopUBkE{&Kl(L5+ZuF(6`HI*Fyu5b4nE$kweHiYk+ >hA)Dse=Ki!azG~*<M7wF3&t_&UTls7j2P+GMH2^2F+T8#E > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/treeview/jquery.treeview.css b/koha-tmpl/intranet-tmpl/prog/css/treeview/jquery.treeview.css >deleted file mode 100644 >index 41d07d6..0000000 >--- a/koha-tmpl/intranet-tmpl/prog/css/treeview/jquery.treeview.css >+++ /dev/null >@@ -1,69 +0,0 @@ >-.treeview, .treeview ul { >- padding: 0; >- margin: 0; >- list-style: none; >-} >- >-.treeview ul { >- background-color: white; >- margin-top: 4px; >-} >- >-.treeview .hitarea { >- background: url(images/treeview-default.gif) -64px -25px no-repeat; >- height: 16px; >- width: 16px; >- margin-left: -16px; >- float: left; >- cursor: pointer; >-} >-/* fix for IE6 */ >-* html .hitarea { >- display: inline; >- float:none; >-} >- >-.treeview li { >- margin: 0; >- padding: 3px 0pt 3px 16px; >- list-style: none; >-} >- >-.treeview a.selected { >- background-color: #eee; >-} >- >-#treecontrol { margin: 1em 0; display: none; } >- >-.treeview .hover { color: red; cursor: pointer; } >- >-.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; } >-.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; } >- >-.treeview .expandable-hitarea { background-position: -80px -3px; } >- >-.treeview li.last { background-position: 0 -1766px } >-.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); } >-.treeview li.lastCollapsable { background-position: 0 -111px } >-.treeview li.lastExpandable { background-position: -32px -67px } >- >-.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; } >- >-.treeview-red li { background-image: url(images/treeview-red-line.gif); } >-.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(images/treeview-red.gif); } >- >-.treeview-black li { background-image: url(images/treeview-black-line.gif); } >-.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(images/treeview-black.gif); } >- >-.treeview-gray li { background-image: url(images/treeview-gray-line.gif); } >-.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview-gray.gif); } >- >-.treeview-famfamfam li { background-image: url(images/treeview-famfamfam-line.gif); } >-.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(images/treeview-famfamfam.gif); } >- >- >-.filetree li { padding: 3px 0 2px 16px; } >-.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; } >-.filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; } >-.filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; } >-.filetree span.file { background: url(images/file.gif) 0 0 no-repeat; } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >index 6099d6f..b3c91d6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >@@ -1,148 +1,656 @@ > [%- BLOCK main_permissions -%] > [% SWITCH name %] >- [%- CASE 'superlibrarian' -%]<span>Access to all librarian functions</span> >- [%- CASE 'circulate' -%]<span>Check out and check in items</span> >- [%- CASE 'catalogue' -%]<span><b>Required for staff login.</b> Staff access, allows viewing of catalogue in staff client.</span> >- [%- CASE 'parameters' -%]<span>Manage Koha system settings (Administration panel)</span> >- [%- CASE 'borrowers' -%]<span>Add, modify and view patron information</span> >- [%- CASE 'permissions' -%]<span>Set user permissions</span> >- [%- CASE 'reserveforothers' -%]<span>Place and modify holds for patrons</span> >- [%- CASE 'editcatalogue' -%]<span>Edit catalog (Modify bibliographic/holdings data)</span> >- [%- CASE 'updatecharges' -%]<span>Manage patrons fines and fees</span> >- [%- CASE 'acquisition' -%]<span>Acquisition and/or suggestion management</span> >- [%- CASE 'tools' -%]<span>Use all tools (expand for granular tools permissions)</span> >- [%- CASE 'editauthorities' -%]<span>Edit authorities</span> >- [%- CASE 'serials' -%]<span>Manage serial subscriptions</span> >- [%- CASE 'reports' -%]<span>Allow access to the reports module</span> >- [%- CASE 'staffaccess' -%]<span>Allow staff members to modify permissions for other staff members</span> >- [%- CASE 'coursereserves' -%]<span>Course reserves</span> >- [%- CASE 'plugins' -%]<span>Koha plugins</span> >- [%- CASE 'lists' -%]<span>Lists</span> >- [%- CASE 'clubs' -%]<span>Patron clubs</span> >- [%- CASE 'ill' -%]<span>Create and modify Interlibrary loan requests</span> >- [%- CASE 'self_check' -%]<span>Self check modules</span> >- [%- CASE 'stockrotation' -%]<span>Manage stockrotation operations</span> >+ [%- CASE 'superlibrarian' -%] >+ <span class="main_permission superlibrarian_permission">Access to all librarian functions</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'circulate' -%] >+ <span class="main_permission circulate_permission">Check out and check in items</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'catalogue' -%] >+ <span class="main_permission catalogue_permission">Staff access, allows viewing of catalogue in staff client.</span> >+ <span class="permissioncode">([% name | html %])</span> <span class="required">Required for staff login.</span> >+ [%- CASE 'parameters' -%] >+ <span class="main_permission parameters_permission">Manage Koha system settings (Administration panel)</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'borrowers' -%] >+ <span class="main_permission borrowers_permission">Add, modify and view patron information</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'permissions' -%] >+ <span class="main_permission permissions_permission">Set user permissions</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'reserveforothers' -%] >+ <span class="main_permission reserveforothers_permission">Place and modify holds for patrons</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'editcatalogue' -%] >+ <span class="main_permission editcatalogue_permission">Edit catalog (Modify bibliographic/holdings data)</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'updatecharges' -%] >+ <span class="main_permission updatecharges_permission">Manage patrons fines and fees</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'acquisition' -%] >+ <span class="main_permission acquisition_permission">Acquisition and/or suggestion management</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'tools' -%] >+ <span class="main_permission tools_permission">Use all tools (expand for granular tools permissions)</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'editauthorities' -%] >+ <span class="main_permission editauthorities_permission">Edit authorities</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'serials' -%] >+ <span class="main_permission serials_permission">Manage serial subscriptions</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'reports' -%] >+ <span class="main_permission reports_permission">Allow access to the reports module</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'staffaccess' -%] >+ <span class="main_permission staffaccess_permission">Allow staff members to modify permissions for other staff members</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'coursereserves' -%] >+ <span class="main_permission coursereserves_permission">Course reserves</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'plugins' -%] >+ <span class="main_permission plugins_permission">Koha plugins</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'lists' -%] >+ <span class="main_permission lists_permission">Lists</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'clubs' -%] >+ <span class="main_permission clubs_permission">Patron clubs</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'ill' -%] >+ <span class="main_permission ill_permission">Create and modify Interlibrary loan requests</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'self_check' -%] >+ <span class="main_permission self_check_permission">Self check modules</span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'stockrotation' -%] >+ <span class="main_permission self_check_permission">Manage stockrotation operations</span> >+ <span class="permissioncode">([% name | html %])</span> > [%- END -%] > [%- END -%] > > [%- BLOCK sub_permissions -%] > [% SWITCH name %] >- [%- CASE 'circulate_remaining_permissions' -%]<span>Remaining circulation permissions</span> >- [%- CASE 'force_checkout' -%]<span>Force checkout if a limitation exists</span> >- [%- CASE 'manage_restrictions' -%]<span>Manage restrictions for accounts</span> >- [%- CASE 'overdues_report' -%]<span>Execute overdue items report</span> >- [%- CASE 'override_renewals' -%]<span>Override blocked renewals</span> >- [%- CASE 'manage_checkout_notes' %]<span>Mark checkout notes as seen/not seen</span> >- [%- CASE 'manage_circ_rules' -%]<span>manage circulation rules</span> >- [%- CASE 'manage_circ_rules_from_any_libraries' -%]<span>Manage circulation rules for any library. If not set the logged in user can only edit circulation rules for their own library (please note that manage_circ_rules is still required)</span> >- [%- CASE 'parameters_remaining_permissions' -%]<span>Remaining system parameters permissions</span> >- [%- CASE 'manage_circ_rules' -%]<span>Manage circulation rules</span> >- [%- CASE 'manage_sysprefs' -%]<span>Manage global system preferences</span> >- [%- CASE 'manage_libraries' -%]<span>Manage libraries and library groups</span> >- [%- CASE 'manage_itemtypes' -%]<span>Manage item types</span> >- [%- CASE 'manage_auth_values' -%]<span>Manage authorized value categories and authorized values</span> >- [%- CASE 'manage_patron_categories' -%]<span>Manage patron categories</span> >- [%- CASE 'manage_patron_attributes' -%]<span>Manage extended patron attributes</span> >- [%- CASE 'manage_transfers' -%]<span>Manage library transfer limits and transport cost matrix</span> >- [%- CASE 'manage_item_circ_alerts' -%]<span>Manage item circulation alerts</span> >- [%- CASE 'manage_cities' -%]<span>Manage cities and towns</span> >- [%- CASE 'manage_marc_frameworks' -%]<span>Manage MARC bibliographic and authority frameworks and test them</span> >- [%- CASE 'manage_keywords2koha_mappings' -%]<span>Manage keywords to Koha mappings</span> >- [%- CASE 'manage_classifications' -%]<span>Manage classification sources and filing rules</span> >- [%- CASE 'manage_matching_rules' -%]<span>Manage record matching rules</span> >- [%- CASE 'manage_oai_sets' -%]<span>Manage OAI sets</span> >- [%- CASE 'manage_item_search_fields' -%]<span>Manage item search fields</span> >- [%- CASE 'manage_search_engine_config' -%]<span>Manage search engine configuration</span> >- [%- CASE 'manage_search_targets' -%]<span>Manage Z39.50 and SRU server configuration</span> >- [%- CASE 'manage_didyoumean' -%]<span>Manage Did you mean? configuration</span> >- [%- CASE 'manage_column_config' -%]<span>Manage column configuration</span> >- [%- CASE 'manage_audio_alerts' -%]<span>Manage audio alerts</span> >- [%- CASE 'manage_sms_providers' -%]<span>Manage SMS cellular providers</span> >- [%- CASE 'manage_usage_stats' -%]<span>Manage usage statistics settings</span> >- [%- CASE 'edit_borrowers' -%]<span>Add, modify and view patron information</span> >- [%- CASE 'view_borrower_infos_from_any_libraries' -%]<span>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.</span> >- [%- CASE 'modify_holds_priority' -%]<span>Modify holds priority</span> >- [%- CASE 'place_holds' -%]<span>Place holds for patrons</span> >- [%- CASE 'delete_all_items' -%]<span>Delete all items at once</span> >- [%- CASE 'edit_catalogue' -%]<span>Edit catalog (Modify bibliographic/holdings data)</span> >- [%- CASE 'edit_items' -%]<span>Edit items</span> >- [%- CASE 'edit_items_restricted' -%]<span>Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)</span> >- [%- CASE 'fast_cataloging' -%]<span>Fast cataloging</span> >- [%- CASE 'remaining_permissions' -%]<span>Remaining permissions for managing fines and fees</span> >- [%- CASE 'writeoff' -%]<span>Write off fines and fees</span> >- [%- CASE 'suggestions_manage' -%]<span>Manage purchase suggestions</span> >- [%- CASE 'budget_add_del' -%]<span>Add and delete budgets (but can't modify budgets)</span> >- [%- CASE 'budget_manage' -%]<span>Manage budgets</span> >- [%- CASE 'budget_manage_all' -%]<span>Manage all budgets</span> >- [%- CASE 'budget_modify' -%]<span>Modify budget (can't create lines, but can modify existing ones)</span> >- [%- CASE 'contracts_manage' -%]<span>Manage contracts</span> >- [%- CASE 'group_manage' -%]<span>Manage basket groups</span> >- [%- CASE 'order_manage' -%]<span>Manage basket and order lines</span> >- [%- CASE 'order_manage_all' -%]<span>Manage all baskets and order lines, regardless of restrictions on them</span> >- [%- CASE 'order_receive' -%]<span>Receive orders and manage shipments</span> >- [%- CASE 'period_manage' -%]<span>Manage budgets</span> >- [%- CASE 'planning_manage' -%]<span>Manage budget plannings</span> >- [%- CASE 'vendors_manage' -%]<span>Manage vendors</span> >- [%- CASE 'currencies_manage' -%]<span>Manage currencies and exchange rates</span> >- [%- CASE 'batch_upload_patron_images' -%]<span>Upload patron images in a batch or one at a time</span> >- [%- CASE 'delete_anonymize_patrons' -%]<span>Delete old borrowers and anonymize circulation history (deletes borrower reading history)</span> >- [%- CASE 'edit_calendar' -%]<span>Define days when the library is closed</span> >- [%- CASE 'edit_news' -%]<span>Write news for the OPAC and staff interfaces</span> >- [%- CASE 'edit_notice_status_triggers' -%]<span>Set notice/status triggers for overdue items</span> >- [%- CASE 'edit_notices' -%]<span>Define notices</span> >- [%- CASE 'edit_patrons' -%]<span>Perform batch modification of patrons</span> >- [%- CASE 'edit_quotes' -%]<span>Edit quotes for quote-of-the-day feature</span> >- [%- CASE 'export_catalog' -%]<span>Export bibliographic and holdings data</span> >- [%- CASE 'import_patrons' -%]<span>Import patron data</span> >- [%- CASE 'inventory' -%]<span>Perform inventory of your catalog</span> >- [%- CASE 'items_batchdel' -%]<span>Perform batch deletion of items</span> >- [%- CASE 'items_batchmod' -%]<span>Perform batch modification of items</span> >- [%- CASE 'items_batchmod_restricted' -%]<span>Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)</span> >- [%- CASE 'label_creator' -%]<span>Create printable labels and barcodes from catalog and patron data</span> >- [%- CASE 'manage_csv_profiles' -%]<span>Manage CSV export profiles</span> >- [%- CASE 'manage_patron_lists' -%]<span>Add, edit and delete patron lists and their contents</span> >- [%- CASE 'manage_staged_marc' -%]<span>Managed staged MARC records, including completing and reversing imports</span> >- [%- CASE 'marc_modification_templates' -%]<span>Manage marc modification templates</span> >- [%- CASE 'moderate_comments' -%]<span>Moderate patron comments</span> >- [%- CASE 'moderate_tags' -%]<span>Moderate patron tags</span> >- [%- CASE 'records_batchdel' -%]<span>Perform batch deletion of records (bibliographic or authority)</span> >- [%- CASE 'records_batchmod' -%]<span>Perform batch modification of records (biblios or authorities)</span> >- [%- CASE 'rotating_collections' -%]<span>Manage rotating collections</span> >- [%- CASE 'schedule_tasks' -%]<span>Schedule tasks to run</span> >- [%- CASE 'stage_marc_import' -%]<span>Stage MARC records into the reservoir</span> >- [%- CASE 'upload_local_cover_images' -%]<span>Upload local cover images</span> >- [%- CASE 'view_system_logs' -%]<span>Browse the system logs</span> >- [%- CASE 'check_expiration' -%]<span>Check the expiration of a serial</span> >- [%- CASE 'claim_serials' -%]<span>Claim missing serials</span> >- [%- CASE 'create_subscription' -%]<span>Create a new subscription</span> >- [%- CASE 'delete_subscription' -%]<span>Delete an existing subscription</span> >- [%- CASE 'edit_subscription' -%]<span>Edit an existing subscription</span> >- [%- CASE 'receive_serials' -%]<span>Serials receiving</span> >- [%- CASE 'renew_subscription' -%]<span>Renew a subscription</span> >- [%- CASE 'routing' -%]<span>Routing</span> >- [%- CASE 'superserials' -%]<span>Manage subscriptions from any branch (only applies when IndependentBranches is used)</span> >- [%- CASE 'delete_reports' -%]<span>Delete SQL reports</span> >- [%- CASE 'create_reports' -%]<span>Create SQL reports</span> >- [%- CASE 'execute_reports' -%]<span>Execute SQL reports</span> >- [%- CASE 'add_reserves' -%]<span>Add course reserves</span> >- [%- CASE 'delete_reserves' -%]<span>Remove course reserves</span> >- [%- CASE 'manage_courses' -%]<span>Add, edit and delete courses</span> >- [%- CASE 'configure' -%]<span>Configure plugins</span> >- [%- CASE 'manage' -%]<span>Manage plugins ( install / uninstall )</span> >- [%- CASE 'report' -%]<span>Use report plugins</span> >- [%- CASE 'tool' -%]<span>Use tool plugins</span> >- [%- CASE 'delete_public_lists' -%]<span>Delete public lists</span> >- [%- CASE 'upload_general_files' -%]<span>Upload any file</span> >- [%- CASE 'upload_manage' -%]<span>Manage uploaded files (<i>Useless without upload_general_files</i>)</span> >- [%- CASE 'access_files' -%]<span>Access to the files stored on the server</span> >- [%- CASE 'edit_clubs' -%]<span>Create and edit clubs</span> >- [%- CASE 'edit_templates' -%]<span>Create and edit club templates</span> >- [%- CASE 'enroll' -%]<span>Enroll patrons in clubs</span> >- [%- CASE 'edi_manage' -%]<span>Manage EDIFACT transmissions</span> >+ [%- CASE 'circulate_remaining_permissions' -%] >+ <span class="sub_permission circulate_remaining_permissions_subpermission"> >+ Remaining circulation permissions >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'force_checkout' -%] >+ <span class="sub_permission force_checkout_subpermission"> >+ Force checkout if a limitation exists >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_restrictions' -%] >+ <span class="sub_permission manage_restrictions_subpermission"> >+ Manage restrictions for accounts >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'overdues_report' -%] >+ <span class="sub_permission overdues_report_subpermission"> >+ Execute overdue items report >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'override_renewals' -%] >+ <span class="sub_permission override_renewals_subpermission"> >+ Override blocked renewals >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_checkout_notes' %] >+ <span class="sub_permission manage_checkout_notes"> >+ Mark checkout notes as seen/not seen >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_circ_rules' -%] >+ <span class="sub_permission manage_circ_rules_subpermission"> >+ manage circulation rules >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_circ_rules_from_any_libraries' -%] >+ <span class="sub_permission manage_circ_rules_from_any_libraries_subpermission"> >+ 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) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'parameters_remaining_permissions' -%] >+ <span class="sub_permission parameters_remaining_permissions_subpermission"> >+ Remaining system parameters permissions >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_circ_rules' -%] >+ <span class="sub_permission manage_circ_rules_subpermission"> >+ Manage circulation rules >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_sysprefs' -%] >+ <span class="sub_permission manage_sysprefs_subpermission"> >+ Manage global system preferences >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_libraries' -%] >+ <span class="sub_permission manage_libraries_subpermission"> >+ Manage libraries and library groups >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_itemtypes' -%] >+ <span class="sub_permission manage_itemtypes_subpermission"> >+ Manage item types >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_auth_values' -%] >+ <span class="sub_permission manage_auth_values_subpermission"> >+ Manage authorized value categories and authorized values >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_patron_categories' -%] >+ <span class="sub_permission manage_patron_categories_subpermission"> >+ Manage patron categories >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_patron_attributes' -%] >+ <span class="sub_permission manage_patron_attributes_subpermission"> >+ Manage extended patron attributes >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_transfers' -%] >+ <span class="sub_permission manage_transfers_subpermission"> >+ Manage library transfer limits and transport cost matrix >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_item_circ_alerts' -%] >+ <span class="sub_permission manage_item_circ_alerts_subpermission"> >+ Manage item circulation alerts >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_cities' -%] >+ <span class="sub_permission manage_cities_subpermission"> >+ Manage cities and towns >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_marc_frameworks' -%] >+ <span class="sub_permission manage_marc_frameworks_subpermission"> >+ Manage MARC bibliographic and authority frameworks and test them >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_keywords2koha_mappings' -%] >+ <span class="sub_permission manage_keywords2koha_mappings_subpermission"> >+ Manage keywords to Koha mappings >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_classifications' -%] >+ <span class="sub_permission manage_classifications_subpermission"> >+ Manage classification sources and filing rules >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_matching_rules' -%] >+ <span class="sub_permission manage_matching_rules_subpermission"> >+ Manage record matching rules >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_oai_sets' -%] >+ <span class="sub_permission manage_oai_sets_subpermission"> >+ Manage OAI sets >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_item_search_fields' -%] >+ <span class="sub_permission manage_item_search_fields_subpermission"> >+ Manage item search fields >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_search_engine_config' -%] >+ <span class="sub_permission manage_search_engine_config_subpermission"> >+ Manage search engine configuration >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_search_targets' -%] >+ <span class="sub_permission manage_search_targets_subpermission"> >+ Manage Z39.50 and SRU server configuration >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_didyoumean' -%] >+ <span class="sub_permission manage_didyoumean_subpermission"> >+ Manage Did you mean? configuration >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_column_config' -%] >+ <span class="sub_permission manage_column_config_subpermission"> >+ Manage column configuration >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_audio_alerts' -%] >+ <span class="sub_permission manage_audio_alerts_subpermission"> >+ Manage audio alerts >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_sms_providers' -%] >+ <span class="sub_permission manage_sms_providers_subpermission"> >+ Manage SMS cellular providers >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_usage_stats' -%] >+ <span class="sub_permission manage_usage_stats_subpermission"> >+ Manage usage statistics settings >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_borrowers' -%] >+ <span class="sub_permission edit_borrowers_subpermission"> >+ Add, modify and view patron information >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'view_borrower_infos_from_any_libraries' -%] >+ <span class="sub_permission view_borrower_infos_from_any_libraries_subpermission"> >+ 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. >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'modify_holds_priority' -%] >+ <span class="sub_permission modify_holds_priority_subpermission"> >+ Modify holds priority >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'place_holds' -%] >+ <span class="sub_permission place_holds_subpermission"> >+ Place holds for patrons >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'delete_all_items' -%] >+ <span class="sub_permission delete_all_items_subpermission"> >+ Delete all items at once >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_catalogue' -%] >+ <span class="sub_permission edit_catalogue_subpermission"> >+ Edit catalog (Modify bibliographic/holdings data) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_items' -%] >+ <span class="sub_permission edit_items_subpermission"> >+ Edit items >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_items_restricted' -%] >+ <span class="sub_permission edit_items_restricted_subpermission"> >+ Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'fast_cataloging' -%] >+ <span class="sub_permission fast_cataloging_subpermission"> >+ Fast cataloging >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'remaining_permissions' -%] >+ <span class="sub_permission remaining_permissions_subpermission"> >+ Remaining permissions for managing fines and fees >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'writeoff' -%] >+ <span class="sub_permission writeoff_subpermission"> >+ Write off fines and fees >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'suggestions_manage' -%] >+ <span class="sub_permission suggestions_manage_subpermission"> >+ Manage purchase suggestions >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'budget_add_del' -%] >+ <span class="sub_permission budget_add_del_subpermission"> >+ Add and delete budgets (but can't modify budgets) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'budget_manage' -%] >+ <span class="sub_permission budget_manage_subpermission"> >+ Manage budgets >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'budget_manage_all' -%] >+ <span class="sub_permission budget_manage_all_subpermission"> >+ Manage all budgets >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'budget_modify' -%] >+ <span class="sub_permission budget_modify_subpermission"> >+ Modify budget (can't create lines, but can modify existing ones) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'contracts_manage' -%] >+ <span class="sub_permission contracts_manage_subpermission"> >+ Manage contracts >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'group_manage' -%] >+ <span class="sub_permission group_manage_subpermission"> >+ Manage basket groups >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'order_manage' -%] >+ <span class="sub_permission order_manage_subpermission"> >+ Manage basket and order lines >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'order_manage_all' -%] >+ <span class="sub_permission order_manage_all_subpermission"> >+ Manage all baskets and order lines, regardless of restrictions on them >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'order_receive' -%] >+ <span class="sub_permission order_receive_subpermission"> >+ Receive orders and manage shipments >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'period_manage' -%] >+ <span class="sub_permission period_manage_subpermission"> >+ Manage budgets >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'planning_manage' -%] >+ <span class="sub_permission planning_manage_subpermission"> >+ Manage budget plannings >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'vendors_manage' -%] >+ <span class="sub_permission vendors_manage_subpermission"> >+ Manage vendors >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'currencies_manage' -%] >+ <span class="sub_permission currencies_manage_subpermission"> >+ Manage currencies and exchange rates >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'batch_upload_patron_images' -%] >+ <span class="sub_permission batch_upload_patron_images_subpermission"> >+ Upload patron images in a batch or one at a time >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'delete_anonymize_patrons' -%] >+ <span class="sub_permission delete_anonymize_patrons_subpermission"> >+ Delete old borrowers and anonymize circulation history (deletes borrower reading history) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_calendar' -%] >+ <span class="sub_permission edit_calendar_subpermission"> >+ Define days when the library is closed >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_news' -%] >+ <span class="sub_permission edit_news_subpermission"> >+ Write news for the OPAC and staff interfaces >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_notice_status_triggers' -%] >+ <span class="sub_permission edit_notice_status_triggers_subpermission"> >+ Set notice/status triggers for overdue items >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_notices' -%] >+ <span class="sub_permission edit_notices_subpermission"> >+ Define notices >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_patrons' -%] >+ <span class="sub_permission edit_patrons_subpermission"> >+ Perform batch modification of patrons >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_quotes' -%] >+ <span class="sub_permission edit_quotes_subpermission"> >+ Edit quotes for quote-of-the-day feature >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'export_catalog' -%] >+ <span class="sub_permission export_catalog_subpermission"> >+ Export bibliographic and holdings data >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'import_patrons' -%] >+ <span class="sub_permission import_patrons_subpermission"> >+ Import patron data >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'inventory' -%] >+ <span class="sub_permission inventory_subpermission"> >+ Perform inventory of your catalog >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'items_batchdel' -%] >+ <span class="sub_permission items_batchdel_subpermission"> >+ Perform batch deletion of items >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'items_batchmod' -%] >+ <span class="sub_permission items_batchmod_subpermission"> >+ Perform batch modification of items >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'items_batchmod_restricted' -%] >+ <span class="sub_permission items_batchmod_restricted_subpermission"> >+ Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'label_creator' -%] >+ <span class="sub_permission label_creator_subpermission"> >+ Create printable labels and barcodes from catalog and patron data >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_csv_profiles' -%] >+ <span class="sub_permission manage_csv_profiles_subpermission"> >+ Manage CSV export profiles >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_patron_lists' -%] >+ <span class="sub_permission manage_patron_lists_subpermission"> >+ Add, edit and delete patron lists and their contents >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_staged_marc' -%] >+ <span class="sub_permission manage_staged_marc_subpermission"> >+ Managed staged MARC records, including completing and reversing imports >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'marc_modification_templates' -%] >+ <span class="sub_permission marc_modification_templates_subpermission"> >+ Manage marc modification templates >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'moderate_comments' -%] >+ <span class="sub_permission moderate_comments_subpermission"> >+ Moderate patron comments >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'moderate_tags' -%] >+ <span class="sub_permission moderate_tags_subpermission"> >+ Moderate patron tags >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'records_batchdel' -%] >+ <span class="sub_permission records_batchdel_subpermission"> >+ Perform batch deletion of records (bibliographic or authority) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'records_batchmod' -%] >+ <span class="sub_permission records_batchmod_subpermission"> >+ Perform batch modification of records (biblios or authorities) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'rotating_collections' -%] >+ <span class="sub_permission rotating_collections_subpermission"> >+ Manage rotating collections >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'schedule_tasks' -%] >+ <span class="sub_permission schedule_tasks_subpermission"> >+ Schedule tasks to run >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'stage_marc_import' -%] >+ <span class="sub_permission stage_marc_import_subpermission"> >+ Stage MARC records into the reservoir >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'upload_local_cover_images' -%] >+ <span class="sub_permission upload_local_cover_images_subpermission"> >+ Upload local cover images >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'view_system_logs' -%] >+ <span class="sub_permission view_system_logs_subpermission"> >+ Browse the system logs >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'check_expiration' -%] >+ <span class="sub_permission check_expiration_subpermission"> >+ Check the expiration of a serial >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'claim_serials' -%] >+ <span class="sub_permission claim_serials_subpermission"> >+ Claim missing serials >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'create_subscription' -%] >+ <span class="sub_permission create_subscription_subpermission"> >+ Create a new subscription >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'delete_subscription' -%] >+ <span class="sub_permission delete_subscription_subpermission"> >+ Delete an existing subscription >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_subscription' -%] >+ <span class="sub_permission edit_subscription_subpermission"> >+ Edit an existing subscription >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'receive_serials' -%] >+ <span class="sub_permission receive_serials_subpermission"> >+ Serials receiving >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'renew_subscription' -%] >+ <span class="sub_permission renew_subscription_subpermission"> >+ Renew a subscription >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'routing' -%] >+ <span class="sub_permission routing_subpermission"> >+ Routing >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'superserials' -%] >+ <span class="sub_permission superserials_subpermission"> >+ Manage subscriptions from any branch (only applies when IndependentBranches is used) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'delete_reports' -%] >+ <span class="sub_permission delete_reports_subpermission"> >+ Delete SQL reports >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'create_reports' -%] >+ <span class="sub_permission create_reports_subpermission"> >+ Create SQL reports >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'execute_reports' -%] >+ <span class="sub_permission execute_reports_subpermission"> >+ Execute SQL reports >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'add_reserves' -%] >+ <span class="sub_permission add_reserves_subpermission"> >+ Add course reserves >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'delete_reserves' -%] >+ <span class="sub_permission delete_reserves_subpermission"> >+ Remove course reserves >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_courses' -%] >+ <span class="sub_permission manage_courses_subpermission"> >+ Add, edit and delete courses >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'configure' -%] >+ <span class="sub_permission configure_subpermission"> >+ Configure plugins >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage' -%] >+ <span class="sub_permission manage_subpermission"> >+ Manage plugins ( install / uninstall ) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'report' -%] >+ <span class="sub_permission report_subpermission"> >+ Use report plugins >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'tool' -%] >+ <span class="sub_permission tool_subpermission"> >+ Use tool plugins >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'delete_public_lists' -%] >+ <span class="sub_permission delete_public_lists_subpermission"> >+ Delete public lists >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'upload_general_files' -%] >+ <span class="sub_permission upload_general_files_subpermission"> >+ Upload any file >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'upload_manage' -%] >+ <span class="sub_permission upload_manage_subpermission"> >+ Manage uploaded files (<i>Useless without upload_general_files</i>) >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'access_files' -%] >+ <span class="sub_permission access_files_subpermission"> >+ Access to the files stored on the server >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_clubs' -%] >+ <span class="sub_permission edit_clubs_subpermission"> >+ Create and edit clubs >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edit_templates' -%] >+ <span class="sub_permission edit_templates_subpermission"> >+ Create and edit club templates >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'enroll' -%] >+ <span class="sub_permission enroll_subpermission"> >+ Enroll patrons in clubs >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'edi_manage' -%] >+ <span class="sub_permission edi_manage_subpermission"> >+ Manage EDIFACT transmissions >+ </span> >+ <span class="permissioncode">([% name | html %])</span> > [%# self_check %] >- [%- CASE 'self_checkin_module' -%]<span>Log into the self check-in module. Note: this permission prevents the patron from using any other OPAC functionality</span> >- [%- CASE 'self_checkout_module' -%]<span>Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID</span> >- [%- CASE 'manage_rota_items' -%]<span>Add and remove items from rotas</span> >- [%- CASE 'manage_rotas' -%]<span>Create, edit and delete rotas</span> >+ [%- CASE 'self_checkin_module' -%] >+ <span class="sub_permission self_checkin_module_subpermission"> >+ Log into the self check-in module. Note: this permission prevents the patron from using any other OPAC functionality >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'self_checkout_module' -%] >+ <span class="sub_permission self_checkout_module_subpermission"> >+ Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_rota_items' -%] >+ <span class="sub_permission manage_rota_items_subpermission"> >+ Add and remove items from rotas >+ </span> >+ <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'manage_rotas' -%] >+ <span class="sub_permission manage_rotas_subpermission"> >+ Create, edit and delete rotas >+ </span> >+ <span class="permissioncode">([% name | html %])</span> > [%- 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' %] > <title>Koha › Patrons › Set permissions for [% patron.surname | html %], [% patron.firstname | html %]</title> >-[% Asset.css("css/treeview/jquery.treeview.css") | $raw %] > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -27,56 +26,63 @@ > <input type="hidden" name="member" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> > <input type="hidden" name="newflags" value="1" /> > <h1>Set permissions for [% patron.surname | html %], [% patron.firstname | html %]</h1> >- <!-- <ul id="permissionstree"><li class="root">All privileges<ul> --> >- <ul id="permissionstree" class="treeview-grey"> >- <!-- <li class="folder-close">One level down<ul> --> >- [% FOREACH loo IN loop %] >- [% IF ( loo.expand ) %] >- <li class="open"> >- [% ELSE %] >- <li> >- [% END %] >- [% IF ( loo.checked ) %] >- [% IF disable_superlibrarian_privs && loo.bit == 0 %] >- <input type="checkbox" disabled="disabled" class="flag parent superlib" id="flag-[% loo.bit | html %]_disabled" name="flag" value="[% loo.flag | html %]" checked="checked" title="The system preference ProtectSuperlibrarianPrivileges is enabled" /> >- <input type="hidden" id="flag-[% loo.bit | html %]" name="flag" value="[% loo.flag | html %]" > >- [% ELSE %] >- <input type="checkbox" class="flag parent" id="flag-[% loo.bit | html %]" name="flag" value="[% loo.flag | html %]" checked="checked" /> >- [% END %] >- [% ELSE %] >- [% IF disable_superlibrarian_privs && loo.bit == 0 %] >- <input type="checkbox" disabled="disabled" class="flag parent" id="flag-[% loo.bit | html %]_disabled" name="flag" value="[% loo.flag | html %]" title="The system preference ProtectSuperlibrarianPrivileges is enabled" /> >- [% ELSE %] >- <input type="checkbox" class="flag parent" id="flag-[% loo.bit | html %]" name="flag" value="[% loo.flag | html %]" /> >- [% END %] >- [% END %] >- <label class="permissioncode" for="flag-[% loo.bit | html %]">[% loo.flag | html %]</label> >- <span class="permissiondesc">[% PROCESS main_permissions name=loo.flag %]</span> >- [% IF ( loo.sub_perm_loop ) %] >- <ul id="flag-[% loo.bit | html %]-children"> >- [% FOREACH sub_perm_loo IN loo.sub_perm_loop %] >- <li> >- [% IF ( sub_perm_loo.checked ) %] >- <input type="checkbox" class="flag child" id="[% sub_perm_loo.id | html %]" name="flag" value="[% sub_perm_loo.perm | html %]" checked="checked" /> >- [% ELSE %] >- <input type="checkbox" class="flag child" id="[% sub_perm_loo.id | html %]" name="flag" value="[% sub_perm_loo.perm | html %]" /> >- [% END %] >- <label class="permissioncode" for="[% sub_perm_loo.id | html %]">[% sub_perm_loo.code | html %]</label> >- <span class="permissiondesc">[% PROCESS sub_permissions name=sub_perm_loo.code %]</span> >- </li> >- [% END %] >- </ul> >- </li> >- [% ELSE %] >- </li> >- [% END %] >- [% END %] >- <!-- </ul></li> --> >- <!-- </ul></li></ul> --> >- </ul> >- >-<fieldset class="action"><input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]">Cancel</a></fieldset> > >+ <div id="permissionstree"> >+ <div id="permissions_toolbar" class="btn-toolbar"> >+ <button type="submit" class="btn btn-sm btn-default"><i class="fa fa-save"></i> Save</button> >+ <a class="btn btn-sm btn-default" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-remove"></i> Cancel</a> >+ <div class="btn-group pull-right"> >+ Filter: <input type="text" name="permissions_filter" id="permissions_filter" size="20" /> >+ <a href="#" id="clear_filter" style="display:none"><i class="fa fa-remove"></i></a> >+ </div> >+ </div> >+ <div class="permissions"> >+ [% FOREACH loo IN loop %] >+ [% IF ( loo.expand ) %] >+ <div id="parent-flag-[% loo.flag | html %]" class="open parent"> >+ [% ELSE %] >+ <div id="parent-flag-[% loo.flag | html %]" class="parent"> >+ [% END %] >+ [% IF ( loo.checked ) %] >+ [% IF disable_superlibrarian_privs && loo.bit == 0 %] >+ <input type="checkbox" disabled="disabled" data-bit="[% loo.bit | html %]" id="flag-[% loo.bit | html %]_disabled" class="parent flag superlib" name="flag" value="[% loo.flag | html %]" checked="checked" title="The system preference ProtectSuperlibrarianPrivileges is enabled" /> >+ <input type="hidden" id="flag-[% loo.bit | html %]" name="flag" value="[% loo.flag | html %]" > >+ [% ELSE %] >+ <input type="checkbox" data-bit="[% loo.bit | html %]" id="flag-[% loo.bit | html %]" class="parent flag" name="flag" value="[% loo.flag | html %]" checked="checked" /> >+ [% END %] >+ [% ELSE %] >+ [% IF disable_superlibrarian_privs && loo.bit == 0 %] >+ <input type="checkbox" disabled="disabled" class="flag parent" data-bit="[% loo.bit | html %]" id="flag-[% loo.bit | html %]_disabled" name="flag" value="[% loo.flag | html %]" title="The system preference ProtectSuperlibrarianPrivileges is enabled" /> >+ [% ELSE %] >+ <input type="checkbox" class="flag parent" data-bit="[% loo.bit | html %]" id="flag-[% loo.bit | html %]" name="flag" value="[% loo.flag | html %]" /> >+ [% END %] >+ [% END # /IF loo.checked %] >+ <label class="permissiondesc" for="flag-[% loo.bit | html %]"> >+ [% PROCESS main_permissions name=loo.flag %] >+ </label> >+ [% IF ( loo.flag == "superlibrarian" ) %]<div class="hint superlibrarian-hint">This permission grants access to all areas. If selected, specific sub-permissions cannot be selected.</div>[% END %] >+ [% IF ( loo.sub_perm_loop ) %] >+ <a class="toggle-[% loo.bit | html %] togglechildren_off" href="#" data-bit="[% loo.bit | html %]"><i class="fa fa-minus-square-o"></i> Hide details</a> >+ <a class="toggle-[% loo.bit | html %] togglechildren_on" href="#" data-bit="[% loo.bit | html %]"><i class="fa fa-plus-square-o"></i> Show details</a> >+ <div class="children" id="flag-[% loo.bit | html %]-children"> >+ [% FOREACH sub_perm_loo IN loo.sub_perm_loop %] >+ <div class="child-flags"> >+ [% IF ( sub_perm_loo.checked ) %] >+ <input type="checkbox" id="[% sub_perm_loo.id | html %]" class="child flag" name="flag" value="[% sub_perm_loo.perm | html %]" checked="checked" /> >+ [% ELSE %] >+ <input type="checkbox" id="[% sub_perm_loo.id | html %]" class="child flag" name="flag" value="[% sub_perm_loo.perm | html %]" /> >+ [% END %] >+ <label class="permissiondesc" for="[% sub_perm_loo.id | html %]"> >+ [% PROCESS sub_permissions name=sub_perm_loo.code %] >+ </label> >+ </div> >+ [% END %] >+ </div> <!-- /#flag-[% loo.bit | html %]-children --> >+ [% END # /IF loo.sub_perm_loop %] >+ </div> <!-- /.parent --> >+ [% END # /FOREACH loo %] >+ </div> >+ </div> <!-- /#permissionstree --> > </form> > > </main> >@@ -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 %] >- <!-- set up tree --> >+ [% Asset.js("lib/hc-sticky.js") | $raw %] > <script> >+ var Sticky; > $(document).ready(function() { >- $("#permissionstree").treeview({animated: "fast", collapsed: true}); >+ >+ Sticky = $("#permissions_toolbar"); >+ Sticky.hcSticky({ >+ stickTo: "#permissionstree", >+ stickyClass: "floating" >+ }); >+ >+ $(".open div").show(); >+ >+ $("#permissions_filter").on("keyup", function(){ >+ $("#clear_filter").css("display","inline-block"); >+ $("a[class^=toggle-]").hide(); >+ var string = $(this).val(); >+ var divs = $("div[id!='parent-flag-superlibrarian']", ".permissions"); >+ if( string != "" && string.length > 3 ){ >+ divs.each(function(){ >+ if ( $(this).text().search(new RegExp( string, "i")) < 0 ) { >+ $(this).hide(); >+ } else { >+ $(this).show(); >+ } >+ }); >+ } else { >+ divs.show(); >+ } >+ }); >+ >+ $("#clear_filter").on("click", function(){ >+ $(".togglechildren_off").show(); >+ $("#permissions_filter").val(""); >+ $("div", "#permissionstree").show(); >+ $(this).css("display","none"); >+ }); > > // Enforce Superlibrarian Privilege Mutual Exclusivity > if( $('input[id="flag-0"]:checked').length || $(".superlib:checked").length ){ > if ($('input[name="flag"]:checked').length > 1){ >- alert(_("Inconsistency detected! The superlibrarian privilege is mutually exclusive of other privileges, as it includes them all. This patron's privileges will now be reset to include only superlibrarian.")); >+ alert(_("Inconsistency detected!") + "\n\n" + _("The superlibrarian privilege is mutually exclusive of other privileges, as it includes them all.") + "\n\n" + _("This patron's privileges will now be reset to include only superlibrarian.")); > } > > $('input[name="flag"]').each(function() { >@@ -128,71 +166,32 @@ > } > }); > >- $(".flag").on("change",function(){ >- if( $(this).hasClass("parent") ){ >- toggleChildren(this); >- } else { >- toggleParent(this); >- } >+ $(".togglechildren_off, .togglechildren_on").on('click', function(e) { >+ e.preventDefault(); >+ var bit = $(this).data("bit"); >+ $("#flag-" + bit + "-children").toggle(); >+ $(".toggle-" + bit).toggle(); > }); > >- }); >- >- // manage checking/unchecking parent permissions >- var originalChildStates = {}; /* keep track of subpermission checkbox values >- so that user can recover from accidentally >- toggling a parent/module permission */ >- function selectChildren(parentInput) { >- var childListId = parentInput.id + '-children'; >- var list = document.getElementById(childListId); >- var children = []; >- if (list) { >- var inputs = list.getElementsByTagName('input'); >- for (var i = 0; i < inputs.length; i++) { >- if (inputs[i].type == 'checkbox') { >- children.push(inputs[i]); >- } >- } >- } >- return children; >- } >+ $(".togglechildren_off, .togglechildren_on").hover( function(){ >+ $(this).parent().addClass("permission-highlight"); >+ }, function(){ >+ $(this).parent().removeClass("permission-highlight"); >+ }); > >- function toggleChildren(parentInput) { >- var children = selectChildren(parentInput); >- if (children.length == 0) { >- return; >- } >- var checked = parentInput.checked; >- if (checked && parentInput.parentNode.className == 'expandable') { >- /* expand the tree */ >- $(".hitarea", parentInput.parentNode).click(); >- } >- for (var i = 0; i < children.length; i++) { >- if (checked) { >- originalChildStates[children[i].id] = children[i].checked; >- children[i].checked = checked; >+ $(".flag").on("change",function(e){ >+ e.preventDefault(); >+ var bit = $(this).data("bit"); >+ if( $(this).is(":checked") ){ >+ $("#flag-" + bit + "-children").show().find(".flag").prop("checked", true); >+ $(".toggle-" + bit + ".togglechildren_on").hide(); >+ $(".toggle-" + bit + ".togglechildren_off").show(); > } else { >- if (children[i].id in originalChildStates) { >- children[i].checked = originalChildStates[children[i].id]; >- } else { >- children[i].checked = checked; >- } >+ $("#flag-" + bit + "-children").show().find(".flag").prop("checked", false); > } >- } >- } >- >- function toggleParent(childInput) { >- originalChildStates[childInput.id] = childInput.checked; >- if (childInput.checked) { >- return; >- } >- var parentId = childInput.parentNode.parentNode.id.replace(/-children$/, '');; >- var parentInput = document.getElementById(parentId); >- if (parentInput) { >- parentInput.checked = false; >- } >- } >+ }); > >+ }); > </script> > [% END %] > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11375
:
51847
|
75967
|
77333
|
77486
|
82932
|
83296
|
84140
|
84143
|
84700
|
84701
|
84702
|
85351
|
85352
|
85576
|
85577
|
85622
|
85623
|
85624
|
85625
|
86437
|
86438
|
86439
|
86440