]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 330485: Attachment links in comments still say "edit" instead of "details" -...
authorlpsolit%gmail.com <>
Tue, 15 Aug 2006 03:15:15 +0000 (03:15 +0000)
committerlpsolit%gmail.com <>
Tue, 15 Aug 2006 03:15:15 +0000 (03:15 +0000)
Bugzilla/Template.pm

index 756c3cc44ef0d423fb0d400677b728c036f3accb..58008900f77a09b5a04e9b3a98cb2ca039261b7c 100644 (file)
@@ -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 {