diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-11-02 23:58:27 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-11-02 23:58:27 +0100 |
commit | 480a9b8e789be47fe8a4ddf5159c0a4056f890cb (patch) | |
tree | 7e96ece8ba597af278cc75079dc111db89b1a761 /template | |
parent | 9dd2ad8508250535aacdac771d052683a5b35874 (diff) | |
download | bugzilla-480a9b8e789be47fe8a4ddf5159c0a4056f890cb.tar.gz bugzilla-480a9b8e789be47fe8a4ddf5159c0a4056f890cb.tar.xz |
Bug 607581: URLs in the See Also field are not linkified when the user is logged out
r=pyrzak a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/field.html.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index 1eb4574bf..82998993f 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -211,6 +211,12 @@ [% IF value %] [% value FILTER bug_link(value, use_alias => 1) FILTER none %] [% 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> + [% END %] + [% '</ul>' IF value.size %] [% ELSE %] [% value.join(', ') FILTER html %] [% END %] |