From bb164af697bd8e36a116e76c4a5f8dcfd1e79dd7 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Wed, 28 Feb 2018 10:29:19 -0500 Subject: Bug 1429621 - Add Saved Searches to My Dashboard --- .../en/default/pages/mydashboard.html.tmpl | 24 ++++++++++++++++++++++ extensions/MyDashboard/web/styles/mydashboard.css | 19 ++++++++++++++--- 2 files changed, 40 insertions(+), 3 deletions(-) (limited to 'extensions/MyDashboard') diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl index 7956fcfae..36a8db6f2 100644 --- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -151,6 +151,30 @@
+ [% IF user.showmybugslink OR user.queries.size OR user.queries_subscribed.size %] +
+
+
+

Saved Searches

+ Edit +
+ +
+ [% END %] diff --git a/extensions/MyDashboard/web/styles/mydashboard.css b/extensions/MyDashboard/web/styles/mydashboard.css index d7deadcad..8314755c0 100644 --- a/extensions/MyDashboard/web/styles/mydashboard.css +++ b/extensions/MyDashboard/web/styles/mydashboard.css @@ -20,9 +20,8 @@ .query_heading { font-size: 18px; - font-weight: strong; - padding-bottom: 5px; - padding-top: 5px; + font-weight: 600; + margin: 5px 0; color: rgb(72, 72, 72); } @@ -71,3 +70,17 @@ #last_changes .field_label { text-align: left; } + +#saved_searches_container > header { + display: flex; + align-items: center; + margin: 5px 0; +} + +#saved_searches_container > header h2 { + margin: 0 10px 0 0; +} + +#saved_searches_container li { + margin: 5px 0; +} -- cgit v1.2.3-24-g4f1b