Move language subdomain message into the projects list too; make the close buttons similar.

This commit is contained in:
Paulo Reis 2018-03-28 13:54:02 +01:00
parent 2dde810a1d
commit 525deabc2b
2 changed files with 6 additions and 5 deletions

View file

@ -111,10 +111,6 @@ html(itemscope, itemtype='http://schema.org/Product')
data-badge="inline" data-badge="inline"
) )
- if(typeof(suppressSystemMessages) == "undefined")
include translations/translation_message
- if(typeof(suppressNavbar) == "undefined") - if(typeof(suppressNavbar) == "undefined")
include layout/navbar include layout/navbar

View file

@ -67,8 +67,13 @@ block content
ng-controller="SystemMessageController" ng-controller="SystemMessageController"
ng-hide="hidden" 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") .system-message-content(ng-bind-html="htmlContent")
include ../translations/translation_message
.project-list-content .project-list-content
.row.project-list-row(ng-cloak) .row.project-list-row(ng-cloak)
.project-list-container(ng-if="projects.length > 0") .project-list-container(ng-if="projects.length > 0")