Pārlūkot izejas kodu

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

Paulo Reis 8 gadi atpakaļ
vecāks
revīzija
525deabc2b

+ 0 - 4
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
 

+ 6 - 1
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")