From 525deabc2b65009031e12789aac57572d245facb Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Wed, 28 Mar 2018 13:54:02 +0100 Subject: [PATCH] Move language subdomain message into the projects list too; make the close buttons similar. --- services/web/app/views/layout.pug | 4 ---- services/web/app/views/project/list.pug | 7 ++++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/services/web/app/views/layout.pug b/services/web/app/views/layout.pug index 5b0694c40c..c8140d24b2 100644 --- a/services/web/app/views/layout.pug +++ b/services/web/app/views/layout.pug @@ -111,10 +111,6 @@ html(itemscope, itemtype='http://schema.org/Product') data-badge="inline" ) - - if(typeof(suppressSystemMessages) == "undefined") - include translations/translation_message - - - if(typeof(suppressNavbar) == "undefined") include layout/navbar diff --git a/services/web/app/views/project/list.pug b/services/web/app/views/project/list.pug index bc7da60d73..d2001c5483 100644 --- a/services/web/app/views/project/list.pug +++ b/services/web/app/views/project/list.pug @@ -67,8 +67,13 @@ block content ng-controller="SystemMessageController" ng-hide="hidden" ) - a(href, ng-click="hide()").pull-right × + button(ng-click="hide()").close.pull-right + span(aria-hidden="true") × + span.sr-only #{translate("close")} .system-message-content(ng-bind-html="htmlContent") + + include ../translations/translation_message + .project-list-content .row.project-list-row(ng-cloak) .project-list-container(ng-if="projects.length > 0")