Closed
Bug 635607
Opened 13 years ago
Closed 12 years ago
Set description of view_testopia user preference via hooks (Bugzilla 4.0+)
Categories
(Testopia :: General, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
2.5
People
(Reporter: sbodomerle, Assigned: gregaryh)
References
Details
(Whiteboard: [Fixed by blocker])
Attachments
(2 files)
888 bytes,
patch
|
Details | Diff | Splinter Review | |
1.12 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101210 Iceweasel/3.6.13 (like Firefox/3.6.13) Build Identifier: revno: 647 Up to now testopia used to patch the Bugzilla sources to set the description of "view_testopia" user preference. Do this via a hook in Bugzilla 4.0 Just add a new hook template file, extensions/Testopia/template/en/default/hook/global/setting-descs-settings.none.tmpl containing: [% setting_descs.view_testopia = "View the Testopia links", %] Reproducible: Always
Reporter | ||
Comment 1•13 years ago
|
||
Reporter | ||
Comment 2•13 years ago
|
||
With the closing of bug 644334 it is possible to set the permission of tr_importxml.pl via an extension hook. Shaves another line from extensions/Testopia/patch-4.0
Comment 3•12 years ago
|
||
We shouldn't mix several bugs into a single one. But you are right about both changes. Testopia should use hooks as much as possible to avoid hacking the Bugzilla source code directly. You forgot to remove the corresponding code from patch-XXX though. I included them (before seeing this bug) in bug 743589.
Status: UNCONFIRMED → NEW
Depends on: 743589
Ever confirmed: true
Whiteboard: [Fixed by blocker]
Target Milestone: --- → 2.5
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•