Commit 480a9b8e authored by Frédéric Buclin's avatar Frédéric Buclin

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

r=pyrzak a=LpSolit
parent 9dd2ad85
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment