From 8b5d0f889aeaeb254bb6fd01c6ce729de04f0e48 Mon Sep 17 00:00:00 2001 From: "guy.pyrzak%gmail.com" <> Date: Fri, 30 Jan 2009 00:50:48 +0000 Subject: Bug 344559: Add Commit Button below the top fields on show_bug.cgi Patch By Guy Pyrzak r=mkanat, a=mkanat --- skins/standard/show_bug.css | 2 +- template/en/default/bug/edit.html.tmpl | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/skins/standard/show_bug.css b/skins/standard/show_bug.css index e21cad1b8..17ce9afd0 100644 --- a/skins/standard/show_bug.css +++ b/skins/standard/show_bug.css @@ -66,6 +66,6 @@ margin-bottom: 3ex; } -#knob-buttons { +.knob-buttons { float: right; } diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index bb80fc1ad..97a2bd54f 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -1,4 +1,4 @@ -[%# The contents of this file are subject to the Mozilla Public +[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ @@ -254,12 +254,7 @@ cols = constants.COMMENT_COLS %]
-
- - [% IF bug.user.canmove %] - - [% END %] -
+ [% PROCESS commit_button id=""%]
@@ -303,7 +298,7 @@ [% BLOCK section_title %] [%# That's the main table, which contains all editable fields. %]
- + [% PROCESS commit_button id="_top"%] [% terms.Bug %] [% bug.bug_id FILTER html %] - @@ -1164,3 +1159,11 @@ [% value = undef %] [% spellcheck = undef %] [% END %] +[% BLOCK commit_button %] +
+ + [% IF bug.user.canmove %] + + [% END %] +
+[% END %] -- cgit v1.2.3-24-g4f1b