зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
4c7dd64e48
Коммит
849c7aae0d
|
@ -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 %]
|
||||
|
|
Загрузка…
Ссылка в новой задаче