summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-05-27 22:42:11 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-05-27 22:42:11 +0200
commite979ef266bbead3e28c85d47e50746c4533c4943 (patch)
tree3d451f8ab2bb07b3d42a9ce6aed2bf3efb6f6617
parentcf2298c98a9aca3b5fe79d5af4085d631aee200e (diff)
downloadbugzilla-e979ef266bbead3e28c85d47e50746c4533c4943.tar.gz
bugzilla-e979ef266bbead3e28c85d47e50746c4533c4943.tar.xz
Bug 658063 - Move votes_container css style to external style.css instead of template
r/a=mkanat
-rw-r--r--extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl4
-rw-r--r--extensions/Voting/web/style.css4
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl b/extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl
index fea82601a..4ad8f5bc2 100644
--- a/extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl
+++ b/extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl
@@ -18,10 +18,6 @@
# Max Kanat-Alexander <mkanat@bugzilla.org>
#%]
[% IF bug.product_obj.votesperuser %]
- <style type="text/css">
- #votes_container { white-space: nowrap; }
- </style>
-
<span id="votes_container">
[% IF bug.votes %]
with
diff --git a/extensions/Voting/web/style.css b/extensions/Voting/web/style.css
index 5d9c9afe6..c2b934e37 100644
--- a/extensions/Voting/web/style.css
+++ b/extensions/Voting/web/style.css
@@ -22,3 +22,7 @@ tr.bz_bug_being_voted_on td {
border-style: solid none solid none;
border-width: thin;
}
+
+#votes_container {
+ white-space: nowrap;
+}