From ce1f58bdbcd2c3dc4faa6b07863ac4636c1a0566 Mon Sep 17 00:00:00 2001 From: "olav%bkor.dhs.org" <> Date: Fri, 20 Oct 2006 02:23:16 +0000 Subject: Bug 72863: Remove ugly table shown when posting/changing a bug Patch by Olav Vitters r+a=justdave --- template/en/default/attachment/created.html.tmpl | 54 +++++++++++------------- template/en/default/attachment/updated.html.tmpl | 29 +++++-------- 2 files changed, 36 insertions(+), 47 deletions(-) (limited to 'template/en/default/attachment') diff --git a/template/en/default/attachment/created.html.tmpl b/template/en/default/attachment/created.html.tmpl index 3114b2963..e6037bcba 100644 --- a/template/en/default/attachment/created.html.tmpl +++ b/template/en/default/attachment/created.html.tmpl @@ -32,38 +32,34 @@ [% PROCESS global/header.html.tmpl title = "Changes Submitted" - style = "th { text-align: left; }" %] - - - - - -
-

- Attachment #[% attachid %] - to [% terms.Bug %] #[% bugid %] Created -

+
+
+ Attachment #[% attachid %] + to [% "$terms.bug $bugid" FILTER bug_link(bugid) %] created +
+
+ [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %] + [% IF convertedbmp %] +

+ Note: [% terms.Bugzilla %] automatically converted your BMP image file to a + compressed PNG format. +

+ [% END %] + [% IF contenttypemethod == 'autodetect' %] +

+ Note: [% terms.Bugzilla %] automatically detected the content type + [% contenttype %] for this attachment. If this is + incorrect, correct the value by + editing the attachment's details. +

+ [% END %] - [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %] - [% IF convertedbmp %] -

- Note: [% terms.Bugzilla %] automatically converted your BMP image file to a - compressed PNG format. -

- [% END %] - [% IF contenttypemethod == 'autodetect' %] -

- Note: [% terms.Bugzilla %] automatically detected the content type - [% contenttype %] for this attachment. If this is - incorrect, correct the value by - editing the attachment's details. -

- [% END %] -
- Go back to [% terms.bug %] #[% bugid %] -
+ [%# Links to more information about the changed bug. %] + [% Hook.process("links") %] + +

Create diff --git a/template/en/default/attachment/updated.html.tmpl b/template/en/default/attachment/updated.html.tmpl index de56341e0..a66b74e17 100644 --- a/template/en/default/attachment/updated.html.tmpl +++ b/template/en/default/attachment/updated.html.tmpl @@ -29,25 +29,18 @@ [% PROCESS global/header.html.tmpl title = "Changes Submitted" - style = "th { text-align: left; }" %] -


- - - - - - - -
-

Changes to - attachment [% attachid %] - of [% terms.bug %] [%+ bugid %] submitted -

- [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %] -
- Back to [% terms.Bug %] #[% bugid %] -
+
+
Changes to + attachment [% attachid %] + of [% "$terms.bug $bugid" FILTER bug_link(bugid) %] submitted +
+
+ [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %] + [%# Links to more information about the changed bug. %] + [% Hook.process("links") %] +
+
[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b