diff options
author | lpsolit%gmail.com <> | 2006-03-02 07:10:22 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-02 07:10:22 +0100 |
commit | bf646df2bc21afc10dc0b074b13c8742ef43d461 (patch) | |
tree | 6e9955da4b5d96e907f5858e93ed4b7e07cdee54 /template/en/default/admin/milestones/deleted.html.tmpl | |
parent | 6efc4495cf42c61f31397374618ea55bd31a9983 (diff) | |
download | bugzilla-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/milestones/deleted.html.tmpl')
-rw-r--r-- | template/en/default/admin/milestones/deleted.html.tmpl | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/template/en/default/admin/milestones/deleted.html.tmpl b/template/en/default/admin/milestones/deleted.html.tmpl index 8db9b8943..bddae3136 100644 --- a/template/en/default/admin/milestones/deleted.html.tmpl +++ b/template/en/default/admin/milestones/deleted.html.tmpl @@ -21,25 +21,23 @@ #%] [%# INTERFACE: - # name: string; the name of the deleted milestone. - # - # product: string; the name of the product the milestone belonged to - # - # bug_count: number; the number of bugs which were reassigned to - # the default milestone. + # product: object; Bugzilla::Product object representing the product to + # which the milestone belongs. + # milestone: object; Bugzilla::Milestone object representing the + # milestone the user deleted. #%] -[% title = BLOCK %]Deleted Milestone '[% name FILTER html %]' of Product - '[% product FILTER html %]'[% END %] +[% title = BLOCK %]Deleted Milestone '[% milestone.name FILTER html %]' of Product + '[% product.name FILTER html %]'[% END %] [% PROCESS global/header.html.tmpl title = title %] <p> -[% IF bug_count %] +[% IF milestone.bug_count %] - [% bug_count %] - [% IF bug_count > 1 %] + [% milestone.bug_count FILTER none %] + [% IF milestone.bug_count > 1 %] [%+ terms.bugs %] [% ELSE %] [%+ terms.bug %] @@ -51,7 +49,7 @@ [% END %] </p> -<p>Milestone '[% name FILTER html %]' deleted.</p> +<p>Milestone '[% milestone.name FILTER html %]' deleted.</p> <p> |