Bug 284273: Move productResponsibilities from editusers.cgi to Bugzilla::User.pm - Patch by Marc Schumann <wurblzap@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@175119 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -21,11 +21,6 @@
|
||||
# editusers: is viewing user member of editusers?
|
||||
# editcomponents: is viewing user member of editcomponents?
|
||||
# otheruser: Bugzilla::User object of the viewed user.
|
||||
# product_responsibilities: list of hashes, one entry per Bugzilla component.
|
||||
# productname: Name of the product.
|
||||
# componentname: Name of the component.
|
||||
# initialowner: User ID of default assignee.
|
||||
# initialqacontact: User ID of default QA contact.
|
||||
# bugs: number of bugs the viewed user has a role in
|
||||
# bug_activity: number of bugs the viewed user has activity
|
||||
# entries on
|
||||
@@ -85,12 +80,12 @@
|
||||
[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
[% IF product_responsibilities.size %]
|
||||
[% IF otheruser.product_responsibilities.size %]
|
||||
<tr>
|
||||
<th>Product responsibilities:</th>
|
||||
<td>
|
||||
<ul>
|
||||
[% FOREACH component = product_responsibilities %]
|
||||
[% FOREACH component = otheruser.product_responsibilities %]
|
||||
<li>
|
||||
[% andstring = '' %]
|
||||
[% FOREACH responsibility = ['initialowner', 'initialqacontact'] %]
|
||||
@@ -118,7 +113,7 @@
|
||||
[% END %]
|
||||
</table>
|
||||
|
||||
[% IF product_responsibilities.size %]
|
||||
[% IF otheruser.product_responsibilities.size %]
|
||||
<p>
|
||||
You can't delete this user at this time because
|
||||
[%+ otheruser.login FILTER html %] has got responsibilities for at least
|
||||
|
||||
Reference in New Issue
Block a user