summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components/deleted.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-02 07:10:22 +0100
committerlpsolit%gmail.com <>2006-03-02 07:10:22 +0100
commitbf646df2bc21afc10dc0b074b13c8742ef43d461 (patch)
tree6e9955da4b5d96e907f5858e93ed4b7e07cdee54 /template/en/default/admin/components/deleted.html.tmpl
parent6efc4495cf42c61f31397374618ea55bd31a9983 (diff)
downloadbugzilla-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.gz
bugzilla-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.xz
Bug 311258: use objects in admin templates (products & co) - Patch by André Batosti <batosti@async.com.br> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/admin/components/deleted.html.tmpl')
-rw-r--r--template/en/default/admin/components/deleted.html.tmpl26
1 files changed, 12 insertions, 14 deletions
diff --git a/template/en/default/admin/components/deleted.html.tmpl b/template/en/default/admin/components/deleted.html.tmpl
index 83c006869..2b89ac0f3 100644
--- a/template/en/default/admin/components/deleted.html.tmpl
+++ b/template/en/default/admin/components/deleted.html.tmpl
@@ -20,27 +20,25 @@
#%]
[%# INTERFACE:
- # name: string; the name of the deleted component.
- #
- # product: string; the name of the product the component belonged to
- #
- # deleted_bug_count: number; the number of bugs which were deleted
- # (if bug deletion is allowed)
+ # comp: object; Bugzilla::Component object representing the component the
+ # user deleted.
+ # product: object; Bugzilla::Product object representing the product to
+ # which the component belongs.
#%]
-[% title = BLOCK %]Deleted Component '[% name FILTER html %]' from Product
- '[% product FILTER html %]'[% END %]
+[% title = BLOCK %]Deleted Component '[% comp.name FILTER html %]' from Product
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
<p>
-[% IF deleted_bug_count %]
- [% deleted_bug_count %]
- [%- IF deleted_bug_count > 1 %]
- [% terms.bugs %]
+[% IF comp.bug_count %]
+ [% comp.bug_count FILTER none %]
+ [%- IF comp.bug_count > 1 %]
+ [%+ terms.bugs %]
[% ELSE %]
- [% terms.bug %]
+ [%+ terms.bug %]
[% END %]
deleted.
</p><p>
@@ -52,7 +50,7 @@
<p>Flag inclusions and exclusions deleted.</p>
-<p>Component '[% name FILTER html %]' deleted.</p>
+<p>Component '[% comp.name FILTER html %]' deleted.</p>
[% PROCESS admin/components/footer.html.tmpl
no_edit_component_link = 1