aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2017-11-23 14:01:32 +0000
committerStruan Donald <struan@exo.org.uk>2017-11-28 11:00:53 +0000
commita1d8db72e57fe74c02ea7da812ea393ceb9b36c6 (patch)
tree7146ff60d2258cda70f6518b62112f491f414573 /web
parent068dc61ef58b7eab521c9a009f0554fdb98512ed (diff)
display council contacts on council dashboard
Display a list of the email addresses used to contact the council on the council dashboard. Does not display emails if the council has an integration, rejects FMS reports or is currently turned off. Fixes mysociety/fixmystreetforcouncils#941
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_dashboard.scss22
1 files changed, 17 insertions, 5 deletions
diff --git a/web/cobrands/sass/_dashboard.scss b/web/cobrands/sass/_dashboard.scss
index fe35df8e3..396d53d56 100644
--- a/web/cobrands/sass/_dashboard.scss
+++ b/web/cobrands/sass/_dashboard.scss
@@ -184,15 +184,12 @@
}
}
-.dashboard-ranking-table {
+.dashboard-ranking-table,
+.dashboard-contacts-table {
width: 100%;
td {
padding: 0.4em 0.8em;
-
- &:last-child {
- text-align: $right;
- }
}
tbody tr:nth-child(odd) {
@@ -205,3 +202,18 @@
font-weight: bold;
}
}
+
+.dashboard-ranking-table {
+ td {
+ &:last-child {
+ text-align: $right;
+ }
+ }
+}
+
+.dashboard-contacts-table {
+ th {
+ text-align: $left;
+ padding: 0.4em 0.8em;
+ }
+}