mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Move system messages into the project list page (only).
This commit is contained in:
parent
a998d738ee
commit
b8049f3c46
2 changed files with 12 additions and 13 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue