Move system messages into the project list page (only).

This commit is contained in:
Paulo Reis 2018-03-28 12:05:32 +01:00
parent a998d738ee
commit b8049f3c46
2 changed files with 12 additions and 13 deletions

View file

@ -112,18 +112,6 @@ html(itemscope, itemtype='http://schema.org/Product')
)
- if(typeof(suppressSystemMessages) == "undefined")
.system-messages(
ng-cloak
ng-controller="SystemMessagesController"
)
.system-message(
ng-repeat="message in messages"
ng-controller="SystemMessageController"
ng-hide="hidden"
)
a(href, ng-click="hide()").pull-right ×
.system-message-content(ng-bind-html="htmlContent")
include translations/translation_message

View file

@ -57,8 +57,19 @@ block content
ng-click="showAll();"
) Show all
.content.content-alt.project-list-page(ng-controller="ProjectPageController")
- if(typeof(suppressSystemMessages) == "undefined")
.system-messages(
ng-cloak
ng-controller="SystemMessagesController"
)
.system-message(
ng-repeat="message in messages"
ng-controller="SystemMessageController"
ng-hide="hidden"
)
a(href, ng-click="hide()").pull-right ×
.system-message-content(ng-bind-html="htmlContent")
.project-list-content
.row.project-list-row(ng-cloak)
.project-list-container(ng-if="projects.length > 0")
.project-list-sidebar-wrapper.col-md-2.col-xs-3