summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-15 05:15:15 +0200
committerlpsolit%gmail.com <>2006-08-15 05:15:15 +0200
commit91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3 (patch)
tree5667311d7ca2805abff996a865c916bcb7034fc1 /Bugzilla
parent212b28b07c639d876e057ab50b783de7002cb4e5 (diff)
downloadbugzilla-91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3.tar.gz
bugzilla-91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3.tar.xz
Bug 330485: Attachment links in comments still say "edit" instead of "details" - Patch by victory(_RSZ_) <bmo@rsz.jp> r=LpSolit a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Template.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 756c3cc44..58008900f 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -379,12 +379,12 @@ sub get_attachment_link {
# Prevent code injection in the title.
$title = value_quote($title);
- $link_text =~ s/ \[edit\]$//;
+ $link_text =~ s/ \[details\]$//;
my $linkval = "attachment.cgi?id=$attachid&amp;action=";
# Whitespace matters here because these links are in <pre> tags.
return qq|<span class="$className">|
. qq|<a href="${linkval}view" title="$title">$link_text</a>|
- . qq| <a href="${linkval}edit" title="$title">[edit]</a>|
+ . qq| <a href="${linkval}edit" title="$title">[details]</a>|
. qq|</span>|;
}
else {