summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components/footer.html.tmpl
blob: 86d0afb0aa542047fa6d10d018b461fddbdc94f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  #
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
  #%]

[%# INTERFACE:
  # comp: object; Bugzilla::Component object representing the component 
  # product: object; Bugzilla::Product object representing the product to
  #               which the component belongs.
  #%]

<hr>

<p>
Edit 

[% IF comp && !no_edit_component_link %]
  component <a 
  title="Edit Component '[% comp.name FILTER html %]'"
  href="editcomponents.cgi?action=edit&amp;product=
  [%- product.name FILTER uri %]&amp;component=[% comp.name FILTER uri %]">
   '[% comp.name FILTER html %]'</a> 
  or edit
[% END %]

[% IF !no_edit_other_components_link %]
other components of product <a 
  title="Choose a component from product '[% product.name FILTER html %]' to edit"
  href="editcomponents.cgi?product=
  [%- product.name FILTER uri %]">'[% product.name FILTER html %]'</a>, 
  or edit 
[% END %]

product <a 
  title="Edit Product '[% product.name FILTER html %]'"
  href="editproducts.cgi?action=edit&amp;product=
  [%- product.name FILTER uri %]">'[% product.name FILTER html %]'</a>.

</p>