mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 00:50:40 +00:00
Bug 248037: Link from attachment 'created' date to comment where it was created - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=timeless a=justdave
This commit is contained in:
parent
3637c141d7
commit
a3287bb940
@ -388,7 +388,7 @@ sub get_attachment_link {
|
||||
my $linkval = "attachment.cgi?id=$attachid";
|
||||
# Whitespace matters here because these links are in <pre> tags.
|
||||
return qq|<span class="$className">|
|
||||
. qq|<a href="${linkval}" title="$title">$link_text</a>|
|
||||
. qq|<a href="${linkval}" name="attach_${attachid}" title="$title">$link_text</a>|
|
||||
. qq| <a href="${linkval}&action=edit" title="$title">[details]</a>|
|
||||
. qq|</span>|;
|
||||
}
|
||||
|
@ -91,7 +91,9 @@
|
||||
[% attachment.attacher.name || attachment.attacher.login FILTER html %]
|
||||
</a>
|
||||
</td>
|
||||
<td valign="top">[% attachment.attached FILTER time %]</td>
|
||||
<td valign="top">
|
||||
<a href="#attach_[% attachment.id %]">[% attachment.attached FILTER time %]</a>
|
||||
</td>
|
||||
<td valign="top">
|
||||
[% IF attachment.datasize %]
|
||||
[% attachment.datasize FILTER unitconvert %]
|
||||
|
Loading…
Reference in New Issue
Block a user