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:
lpsolit%gmail.com 2006-12-31 00:45:07 +00:00
Родитель 4c7dd64e48
Коммит 849c7aae0d
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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}&amp;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 %]