]> 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:17:21 +0000 (03:17 +0000)
committerlpsolit%gmail.com <>
Tue, 15 Aug 2006 03:17:21 +0000 (03:17 +0000)
globals.pl

index f1b1ae0997fd6110e33eaabf23601e61826dddc0..aa4a42f5be72134dd46957807087078a07aed8a3 100644 (file)
@@ -623,12 +623,12 @@ sub GetAttachmentLink {
     my ($title, $className) = @{$::attachlink{$attachid}};
     # $title will be undefined if the attachment didn't exist in the database.
     if (defined $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 {