From abe6664aed9aa97caa146957d85e7203c141de94 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 14 May 2007 00:00:03 +0000 Subject: I forgot this template in my previous checkin :) --- .../default/admin/users/responsibilities.html.tmpl | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 template/en/default/admin/users/responsibilities.html.tmpl (limited to 'template/en/default/admin/users/responsibilities.html.tmpl') diff --git a/template/en/default/admin/users/responsibilities.html.tmpl b/template/en/default/admin/users/responsibilities.html.tmpl new file mode 100644 index 000000000..e95680ed5 --- /dev/null +++ b/template/en/default/admin/users/responsibilities.html.tmpl @@ -0,0 +1,62 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # Contributor(s): Marc Schumann + # Frédéric Buclin + #%] + +[% hidden_products = 0 %] + + [% FOREACH item = otheruser.product_responsibilities %] + [% IF !user.can_see_product(item.product.name) %] + [% hidden_products = 1 %] + [% NEXT %] + [% END %] + + + + + + + + + + [% FOREACH component = item.components %] + + + [% FOREACH responsibility = ['default_assignee', 'default_qa_contact'] %] + + [% END %] + + [% END %] + + [% END %] +
Product: [% item.product.name FILTER html %]
ComponentDefault AssigneeDefault QA Contact
+ [% IF user.in_group("editcomponents", component.product_id) %] + + [% END %] + [% component.name FILTER html %] + [% IF user.in_group("editcomponents", component.product_id) %] + + [% END %] + + [% component.$responsibility.id == otheruser.id ? "X" : " " %] +
+ +[% IF hidden_products %] +

The user is involved in at least one product which you cannot + see (and so is not listed above). You have to ask an administrator with enough + privileges to edit this user's roles for these products.

+[% END %] -- cgit v1.2.3-24-g4f1b