diff options
author | Tiago Mello <timello@gmail.com> | 2011-02-11 02:31:28 +0100 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2011-02-11 02:31:28 +0100 |
commit | f0b6242097e487198de559d39d4169a2a0a4d8e7 (patch) | |
tree | 8e6dce90308e188c2d3656859fa319b2b8544221 /template | |
parent | a744c531a46bdd18aed3cc89ed0770a791d27475 (diff) | |
download | bugzilla-f0b6242097e487198de559d39d4169a2a0a4d8e7.tar.gz bugzilla-f0b6242097e487198de559d39d4169a2a0a4d8e7.tar.xz |
Bug 620827: Refactor remove see also to use remove_from_db instead.
r/a=mkanat
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/field.html.tmpl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index 82998993f..900a78271 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -163,10 +163,11 @@ cols = 60 defaultcontent = value mandatory = field.is_mandatory %] [% CASE constants.FIELD_TYPE_BUG_URLS %] [% '<ul class="bug_urls">' IF value.size %] - [% FOREACH url = value %] + [% FOREACH bug_url = value %] <li> - <a href="[% url FILTER html %]">[% url FILTER html %]</a> - <label><input type="checkbox" value="[% url FILTER html %]" + <a href="[% bug_url.name FILTER html %]"> + [% bug_url.name FILTER html %]</a> + <label><input type="checkbox" value="[% bug_url.name FILTER html %]" name="remove_[% field.name FILTER html %]"> Remove</label> </li> @@ -213,8 +214,9 @@ [% END %] [% ELSIF field.type == constants.FIELD_TYPE_BUG_URLS %] [% '<ul class="bug_urls">' IF value.size %] - [% FOREACH url = value %] - <li><a href="[% url FILTER html %]">[% url FILTER html %]</a></li> + [% FOREACH bug_url = value %] + <li><a href="[% bug_url.name FILTER html %]"> + [% bug_url.name FILTER html %]</a></li> [% END %] [% '</ul>' IF value.size %] [% ELSE %] |