summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template.pm')
-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&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 {