зеркало из https://github.com/mozilla/pjs.git
Patch for bug 282613: add important admin edit flags to sidebar; patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org>, r=vladd, a=justdave.
This commit is contained in:
Родитель
0d736026ad
Коммит
89c9b794a6
|
@ -73,12 +73,18 @@ function normal_keypress_handler( aEvent ) {
|
|||
<text class="text-link" onclick="load_relative_url('userprefs.cgi')" value="edit prefs"/>
|
||||
[%- IF user.groups.tweakparams %]
|
||||
<text class="text-link" onclick="load_relative_url('editparams.cgi')" value="edit params"/>
|
||||
<text class="text-link" onclick="load_relative_url('editsettings.cgi')" value="edit user settings"/>
|
||||
[%- END %]
|
||||
[%- IF user.groups.editusers || user.can_bless %]
|
||||
<text class="text-link" onclick="load_relative_url('editusers.cgi')" value="edit users"/>
|
||||
[%- END %]
|
||||
[%- IF Param('useclassification') && user.groups.editclassifications %]
|
||||
<text class="text-link" onclick="load_relative_url('editclassifications.cgi')" value="edit classifications"/>
|
||||
[%- END %]
|
||||
[%- IF user.groups.editcomponents %]
|
||||
<text class="text-link" onclick="load_relative_url('editcomponents.cgi')" value="edit components"/>
|
||||
<text class="text-link" onclick="load_relative_url('editflagtypes.cgi')" value="edit flags"/>
|
||||
<text class="text-link" onclick="load_relative_url('editvalues.cgi')" value="edit field values"/>
|
||||
[%- END %]
|
||||
[%- IF user.groups.creategroups %]
|
||||
<text class="text-link" onclick="load_relative_url('editgroups.cgi')" value="edit groups"/>
|
||||
|
@ -86,6 +92,9 @@ function normal_keypress_handler( aEvent ) {
|
|||
[%- IF user.groups.editkeywords %]
|
||||
<text class="text-link" onclick="load_relative_url('editkeywords.cgi')" value="edit keywords"/>
|
||||
[%- END %]
|
||||
[%- IF user.groups.bz_canusewhines %]
|
||||
<text class="text-link" onclick="load_relative_url('editwhines.cgi')" value="edit whining"/>
|
||||
[%- END %]
|
||||
[%- IF user.groups.tweakparams %]
|
||||
<text class="text-link" onclick="load_relative_url('sanitycheck.cgi')" value="sanity check"/>
|
||||
[%- END %]
|
||||
|
|
Загрузка…
Ссылка в новой задаче