diff options
author | myk%mozilla.org <> | 2005-09-01 23:02:26 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2005-09-01 23:02:26 +0200 |
commit | a3cbf5618bb6133f8cd56d8b1d1414fe4c87e469 (patch) | |
tree | aca6a8e5dc4868c72816aa46870408093a8e8538 /template/en/default/attachment | |
parent | a094f0ebf0294b8f964fc3d93e4d60044af8353e (diff) | |
download | bugzilla-a3cbf5618bb6133f8cd56d8b1d1414fe4c87e469.tar.gz bugzilla-a3cbf5618bb6133f8cd56d8b1d1414fe4c87e469.tar.xz |
Partial fix for bug 302669: rewrites Attachment.pm to provide a real Attachment class; r=lpsolit
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r-- | template/en/default/attachment/list.html.tmpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 4f66a5eb8..61b68ee53 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -37,7 +37,7 @@ [% IF !attachment.isprivate || canseeprivate %] <tr [% "class=\"bz_private\"" IF attachment.isprivate %]> <td valign="top"> - <a href="attachment.cgi?id=[% attachment.attachid %]">[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</a> + <a href="attachment.cgi?id=[% attachment.id %]">[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</a> </td> <td valign="top"> @@ -49,11 +49,11 @@ </td> <td valign="top"> - <a href="mailto:[% attachment.submitter.email FILTER html %]"> - [% attachment.submitter.name || attachment.submitter.login FILTER html %] + <a href="mailto:[% attachment.attacher.email FILTER html %]"> + [% attachment.attacher.name || attachment.attacher.login FILTER html %] </a> </td> - <td valign="top">[% attachment.date FILTER time %]</td> + <td valign="top">[% attachment.attached FILTER time %]</td> <td valign="top">[% attachment.datasize FILTER unitconvert %]</td> [% IF show_attachment_flags %] @@ -75,9 +75,9 @@ [% END %] <td valign="top"> - <a href="attachment.cgi?id=[% attachment.attachid %]&action=edit">Edit</a> + <a href="attachment.cgi?id=[% attachment.id %]&action=edit">Edit</a> [% IF attachment.ispatch && patchviewerinstalled %] - | <a href="attachment.cgi?id=[% attachment.attachid %]&action=diff">Diff</a> + | <a href="attachment.cgi?id=[% attachment.id %]&action=diff">Diff</a> [% END %] [% Hook.process("action") %] </td> |