~ubuntu-branches/ubuntu/oneiric/bugzilla/oneiric

« back to all changes in this revision

Viewing changes to template/en/default/admin/groups/list.html.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[%# 1.0@bugzilla.org %]
2
 
[%# The contents of this file are subject to the Mozilla Public
3
 
  # License Version 1.1 (the "License"); you may not use this file
4
 
  # except in compliance with the License. You may obtain a copy of
5
 
  # the License at http://www.mozilla.org/MPL/
6
 
  #
7
 
  # Software distributed under the License is distributed on an "AS
8
 
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
 
  # implied. See the License for the specific language governing
10
 
  # rights and limitations under the License.
11
 
  #
12
 
  # The Original Code is the Bugzilla Bug Tracking System.
13
 
  #
14
 
  # The Initial Developer of the Original Code is Netscape Communications
15
 
  # Corporation. Portions created by Netscape are
16
 
  # Copyright (C) 1998 Netscape Communications Corporation. All
17
 
  # Rights Reserved.
18
 
  #
19
 
  # Contributor(s): Dave Miller <justdave@syndicomm.com>
20
 
  #                 Joel Peshkin <bugreport@peshkin.net>
21
 
  #                 Jacob Steenhagen <jake@bugzilla.org>
22
 
  #                 Vlad Dascalu <jocuri@softhome.net>
23
 
  #%]
24
 
 
25
 
[%# INTERFACE:
26
 
  # groups: array with group objects having the properties:
27
 
  #   - id: number. The ID of the group.
28
 
  #   - name: string. The name of the group.
29
 
  #   - description: string. The description of the group.
30
 
  #   - userregexp: string. The user regexp for the given group.
31
 
  #   - isactive: boolean int. Specifies if the group is active or not.
32
 
  #   - isbuggroup: boolean int. Specifies if it can be used for bugs.
33
 
  #%]
34
 
 
35
 
[% PROCESS global/header.html.tmpl
36
 
  title = "Edit Groups"
37
 
  subheader = "This lets you edit the groups available to put users in."
38
 
%]
39
 
 
40
 
[% edit_contentlink = "editgroups.cgi?action=changeform&amp;group=%%id%%" %]
41
 
[% del_contentlink = "editgroups.cgi?action=del&amp;group=%%id%%" %]
42
 
 
43
 
[% columns =
44
 
  [{name               => 'name'
45
 
    heading            => 'Name'
46
 
    contentlink        => edit_contentlink
47
 
   }
48
 
   {name               => 'description'
49
 
    heading            => 'Description'
50
 
    allow_html_content => 1
51
 
   }
52
 
   {name               => 'userregexp'
53
 
    heading            => 'User RegExp'
54
 
   }
55
 
   {name               => 'is_active_bug_group'
56
 
    heading            => "Use For $terms.Bugs"
57
 
    align              => 'center'
58
 
   }
59
 
   {name               => 'type'
60
 
    heading            => 'Type'
61
 
    align              => 'center'
62
 
   }
63
 
   {name               => 'action'
64
 
    heading            => 'Action'
65
 
   }
66
 
  ]
67
 
%]
68
 
 
69
 
[% overrides.is_active_bug_group = [ {
70
 
     match_value => "0"
71
 
     match_field => 'is_active_bug_group'
72
 
     override_content => 1
73
 
     content => "&nbsp;"
74
 
   },
75
 
   {
76
 
     match_value => "1"
77
 
     match_field => 'is_active_bug_group'
78
 
     override_content => 1
79
 
     content => "X"
80
 
   }]
81
 
   overrides.userregexp = [ {
82
 
     match_value => ""
83
 
     match_field => 'userregexp'
84
 
     override_content => 1
85
 
     content => "&nbsp;"
86
 
   }]
87
 
   overrides.action = [ {
88
 
     match_value => Param("chartgroup")
89
 
     match_field => 'name'
90
 
     override_content => 1
91
 
     content => "(used as the 'chartgroup')"
92
 
   },
93
 
   {
94
 
     match_value => Param("insidergroup")
95
 
     match_field => 'name'
96
 
     override_content => 1
97
 
     content => "(used as the 'insidergroup')"
98
 
   },
99
 
   {
100
 
     match_value => Param("timetrackinggroup")
101
 
     match_field => 'name'
102
 
     override_content => 1
103
 
     content => "(used as the 'timetrackinggroup')"
104
 
   },
105
 
   {
106
 
     match_value => Param("querysharegroup")
107
 
     match_field => 'name'
108
 
     override_content => 1
109
 
     content => "(used as the 'querysharegroup')"
110
 
   },
111
 
   {
112
 
     match_value => "1"
113
 
     match_field => 'isbuggroup'
114
 
     override_content => 1
115
 
     content => "Delete"
116
 
     override_contentlink => 1
117
 
     contentlink => del_contentlink
118
 
   }]
119
 
   overrides.type = [ {
120
 
     match_value => "0"
121
 
     match_field => 'isbuggroup'
122
 
     override_content => 1
123
 
     content => "system"
124
 
   },
125
 
   {
126
 
     match_value => "1"
127
 
     match_field => 'isbuggroup'
128
 
     override_content => 1
129
 
     content => "user"
130
 
   }]
131
 
%] 
132
 
 
133
 
[% PROCESS admin/table.html.tmpl
134
 
  columns = columns
135
 
  data    = groups
136
 
  overrides = overrides
137
 
%]
138
 
 
139
 
<p><a href="editgroups.cgi?action=add">Add Group</a></p>
140
 
 
141
 
<p>
142
 
  <b>Name</b> is what is used with the B<!-- blah -->ugzilla->user->in_group()
143
 
function in any customized cgi files you write that use a given group.
144
 
It can also be used by people submitting [% terms.bugs %] by email to
145
 
limit [% terms.abug %] to a certain set of groups.
146
 
</p>
147
 
 
148
 
<p>
149
 
  <b>Description</b> is what will be shown in the [% terms.bug %] reports
150
 
to members of the group where they can choose whether the [% terms.bug %]
151
 
will be restricted to others in the same group.
152
 
</p>
153
 
 
154
 
<p>
155
 
  <b>User RegExp</b> is optional, and if filled in, will automatically
156
 
grant membership to this group to anyone with an email address
157
 
that matches this perl regular expression. Do not forget
158
 
the trailing '$'.  Example '@mycompany\.com$'
159
 
</p>
160
 
 
161
 
<p>
162
 
  The <b>Use For [% terms.Bugs %]</b> flag determines whether or not
163
 
the group is eligible to be used for [% terms.bugs %]. If you remove
164
 
this flag, it will no longer be possible for users to add [% terms.bugs %]
165
 
to this group, although [% terms.bugs %] already in the group will remain
166
 
in the group. Doing so is a much less drastic way to stop a group
167
 
from growing than deleting the group as well as a way to maintain
168
 
lists of users without cluttering the lists of groups used
169
 
for [% terms.bug %] restrictions.
170
 
</p>
171
 
 
172
 
<p>
173
 
  The <b>Type</b> field identifies system groups.
174
 
</p>
175
 
 
176
 
[% PROCESS global/footer.html.tmpl %]