From f76bd9adf38183a4762610927472d07ef4ff6538 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 5 Sep 2012 14:29:40 -0400 Subject: Bug 706680 - Can we integrate the orange factor link with BMO's bug view page - Update template and css to fix layout --- .../en/default/hook/bug/edit-after_custom_fields.html.tmpl | 9 +++++---- extensions/OrangeFactor/web/style/orangefactor.css | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/extensions/OrangeFactor/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl b/extensions/OrangeFactor/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl index 501097712..cd36b30f9 100644 --- a/extensions/OrangeFactor/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl +++ b/extensions/OrangeFactor/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl @@ -11,15 +11,16 @@ [% IF orange_factor %] - - - (link) - + + Orange Factor: + [% IF cgi.user_agent.match('(?i)gecko') %] [% END %] + (link) [% END %] diff --git a/extensions/OrangeFactor/web/style/orangefactor.css b/extensions/OrangeFactor/web/style/orangefactor.css index 972f7b51e..211ad575e 100644 --- a/extensions/OrangeFactor/web/style/orangefactor.css +++ b/extensions/OrangeFactor/web/style/orangefactor.css @@ -6,7 +6,8 @@ * defined by the Mozilla Public License, v. 2.0. */ #orange-graph { + display: block; width: 180px; height: 38px; - margin-right: .5em; + margin: 0 .5em .5em 0; } -- cgit v1.2.3-24-g4f1b