diff options
author | lpsolit%gmail.com <> | 2006-08-15 03:15:15 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-15 03:15:15 +0000 |
commit | 91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3 (patch) | |
tree | 5667311d7ca2805abff996a865c916bcb7034fc1 | |
parent | 212b28b07c639d876e057ab50b783de7002cb4e5 (diff) | |
download | bugs-91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3.tar bugs-91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3.tar.gz bugs-91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3.tar.bz2 bugs-91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3.tar.xz bugs-91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3.zip |
Bug 330485: Attachment links in comments still say "edit" instead of "details" - Patch by victory(_RSZ_) <bmo@rsz.jp> r=LpSolit a=myk
-rw-r--r-- | Bugzilla/Template.pm | 4 |
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 { |