Bug 607581: URLs in the See Also field are not linkified when the user is logged out

r=pyrzak a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261504 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2010-11-02 23:07:07 +00:00
parent 998e082d71
commit 21202c1cc1
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1 @@
7587
7588

View File

@ -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 %]