mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 156169: Bug number styling issues in attachment viewer/editor. r=joel, a=justdave
This commit is contained in:
parent
d1b246175d
commit
2e01fafe4b
@ -426,6 +426,7 @@ sub viewall
|
|||||||
$vars->{'attachments'} = \@attachments;
|
$vars->{'attachments'} = \@attachments;
|
||||||
$vars->{'bugassignee_id'} = $assignee_id;
|
$vars->{'bugassignee_id'} = $assignee_id;
|
||||||
$vars->{'bugsummary'} = $bugsummary;
|
$vars->{'bugsummary'} = $bugsummary;
|
||||||
|
$vars->{'GetBugLink'} = \&GetBugLink;
|
||||||
|
|
||||||
# Return the appropriate HTTP response headers.
|
# Return the appropriate HTTP response headers.
|
||||||
print "Content-Type: text/html\n\n";
|
print "Content-Type: text/html\n\n";
|
||||||
@ -470,6 +471,7 @@ sub enter
|
|||||||
$vars->{'attachments'} = \@attachments;
|
$vars->{'attachments'} = \@attachments;
|
||||||
$vars->{'bugassignee_id'} = $assignee_id;
|
$vars->{'bugassignee_id'} = $assignee_id;
|
||||||
$vars->{'bugsummary'} = $bugsummary;
|
$vars->{'bugsummary'} = $bugsummary;
|
||||||
|
$vars->{'GetBugLink'} = \&GetBugLink;
|
||||||
|
|
||||||
# Return the appropriate HTTP response headers.
|
# Return the appropriate HTTP response headers.
|
||||||
print "Content-Type: text/html\n\n";
|
print "Content-Type: text/html\n\n";
|
||||||
@ -653,6 +655,7 @@ sub edit
|
|||||||
$vars->{'isprivate'} = $isprivate;
|
$vars->{'isprivate'} = $isprivate;
|
||||||
$vars->{'isviewable'} = $isviewable;
|
$vars->{'isviewable'} = $isviewable;
|
||||||
$vars->{'attachments'} = \@bugattachments;
|
$vars->{'attachments'} = \@bugattachments;
|
||||||
|
$vars->{'GetBugLink'} = \&GetBugLink;
|
||||||
|
|
||||||
# Return the appropriate HTTP response headers.
|
# Return the appropriate HTTP response headers.
|
||||||
print "Content-Type: text/html\n\n";
|
print "Content-Type: text/html\n\n";
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
|
|
||||||
[%# Define strings that will serve as the title and header of this page %]
|
[%# Define strings that will serve as the title and header of this page %]
|
||||||
[% title = BLOCK %]Create New Attachment for Bug #[% bugid %][% END %]
|
[% title = BLOCK %]Create New Attachment for Bug #[% bugid %][% END %]
|
||||||
[% h1 = BLOCK %]Create New Attachment for <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a>[% END %]
|
[% h1 = BLOCK %]Create New Attachment for
|
||||||
|
[%+ GetBugLink(bugid, "Bug $bugid") %][% END %]
|
||||||
[% h2 = BLOCK %][% bugsummary FILTER html %][% END %]
|
[% h2 = BLOCK %][% bugsummary FILTER html %][% END %]
|
||||||
|
|
||||||
[% PROCESS global/header.html.tmpl
|
[% PROCESS global/header.html.tmpl
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
|
|
||||||
[%# Define strings that will serve as the title and header of this page %]
|
[%# Define strings that will serve as the title and header of this page %]
|
||||||
[% title = BLOCK %]Edit Attachment #[% attachid %] for Bug #[% bugid %][% END %]
|
[% title = BLOCK %]Edit Attachment #[% attachid %] for Bug #[% bugid %][% END %]
|
||||||
[% h1 = BLOCK %]Edit Attachment #[% attachid %] for <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a>[% END %]
|
[% h1 = BLOCK %]Edit Attachment #[% attachid %] for
|
||||||
|
[%+ GetBugLink(bugid, "Bug $bugid") %][% END %]
|
||||||
[% h2 = BLOCK %][% bugsummary FILTER html %][% END %]
|
[% h2 = BLOCK %][% bugsummary FILTER html %][% END %]
|
||||||
|
|
||||||
[% PROCESS global/header.html.tmpl
|
[% PROCESS global/header.html.tmpl
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#%]
|
#%]
|
||||||
|
|
||||||
[% filtered_summary = bugsummary FILTER html %]
|
[% filtered_summary = bugsummary FILTER html %]
|
||||||
|
[% h1 = BLOCK %]View All Attachments for
|
||||||
|
[%+ GetBugLink(bugid, "Bug $bugid") %][% END %]
|
||||||
[% PROCESS global/header.html.tmpl
|
[% PROCESS global/header.html.tmpl
|
||||||
title = "View All Attachments for Bug #$bugid"
|
title = "View All Attachments for Bug #$bugid"
|
||||||
h1 = "View All Attachments for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>"
|
h1 = h1
|
||||||
h2 = filtered_summary
|
h2 = filtered_summary
|
||||||
style = "
|
style = "
|
||||||
table.attachment_info th { text-align: right; vertical-align: top; }
|
table.attachment_info th { text-align: right; vertical-align: top; }
|
||||||
|
Loading…
Reference in New Issue
Block a user