diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-09-05 20:29:40 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-09-05 20:29:40 +0200 |
commit | f76bd9adf38183a4762610927472d07ef4ff6538 (patch) | |
tree | 7fec8226bcd29c957d7c288336c241bd398cc0c1 /extensions | |
parent | 54a4490e75cd5bb106cf9ea9be332d84f8514887 (diff) | |
download | bugzilla-f76bd9adf38183a4762610927472d07ef4ff6538.tar.gz bugzilla-f76bd9adf38183a4762610927472d07ef4ff6538.tar.xz |
Bug 706680 - Can we integrate the orange factor link with BMO's bug view page
- Update template and css to fix layout
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/OrangeFactor/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl | 9 | ||||
-rw-r--r-- | 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 %] <tr> - <td valign="top"> - <label><b>Orange Factor:</b></label> - (<a href="https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=[% bug.bug_id FILTER url_quote %]">link</a>) - </td> + <th class="field_label" valign="top"> + Orange Factor: + </th> <td> [% IF cgi.user_agent.match('(?i)gecko') %] <canvas id="orange-graph" class="bz_default_hidden"></canvas> <span id="orange-count"></span> [% END %] + (<a href="https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=[% bug.bug_id FILTER url_quote %]" + title="Click to load Orange Factor page for this bug">link</a>) </td> </tr> [% 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; } |