зеркало из https://github.com/mozilla/gecko-dev.git
Bug 274906 - Bugzilla no longer displays an [edit] link inline for attachments. Instead, the edit page is linked to directly where a "view" link is available to get the raw data if required.
r=wurblzap, a=justdave
This commit is contained in:
Родитель
f0c247db7e
Коммит
9c34608454
|
@ -832,8 +832,8 @@ sub GetAttachmentLink {
|
|||
my ($title, $className) = @{$::attachlink{$attachid}};
|
||||
# $title will be undefined if the attachment didn't exist in the database.
|
||||
if (defined $title) {
|
||||
my $linkval = "attachment.cgi?id=$attachid";
|
||||
return qq{<a href="$linkval" class="$className" title="$title">$link_text</a> [<a href="$linkval&action=edit">edit</a>]};
|
||||
my $linkval = "attachment.cgi?id=$attachid&action=edit";
|
||||
return qq{<a href="$linkval" class="$className" title="$title">$link_text</a>};
|
||||
}
|
||||
else {
|
||||
return qq{$link_text};
|
||||
|
|
Загрузка…
Ссылка в новой задаче