fix custom notifications messages

stable
Juanfran 2016-03-29 10:09:11 +02:00
parent 23c0e9062f
commit 27c419a4a4
2 changed files with 12 additions and 7 deletions

View File

@ -76,7 +76,10 @@ class TransferProject
project: @.project.get("slug")
})
@location.path(newUrl)
@confirmService.notify("success", @translate.instant("ADMIN.PROJECT_TRANSFER.ACCEPTED_PROJECT_OWNERNSHIP"), '', 5000)
@confirmService.notify("success", @translate.instant("ADMIN.PROJECT_TRANSFER.ACCEPTED_PROJECT_OWNERNSHIP"), '', 15000)
return
transferReject: (token, reason) ->
@projectService.transferReject(@.project.get("id"), token, reason).success () =>
@ -86,6 +89,8 @@ class TransferProject
@location.path(newUrl)
@confirmService.notify("success", @translate.instant("ADMIN.PROJECT_TRANSFER.REJECTED_PROJECT_OWNERNSHIP"), '', 5000)
return
addComment: () ->
@.showAddComment = true

View File

@ -11,22 +11,22 @@
div.notification-message.notification-message-success
div.text
h4.warning(translate="NOTIFICATION.OK")
p(translate="NOTIFICATION.SAVED")
h4.warning
p
div.notification-message.notification-message-error
svg.icon.icon-error
use(xlink:href="#icon-error")
div.text
h4.warning(translate="NOTIFICATION.WARNING")
p(translate="NOTIFICATION.WARNING_TEXT")
h4.warning
p
svg.icon.icon-close(href="", title="{{'NOTIFICATION.CLOSE' | translate}}")
use(xlink:href="#icon-close")
div.notification-light.notification-message-light-error
div.text
h4.warning(translate="NOTIFICATION.WARNING")
p(translate="NOTIFICATION.WARNING_TEXT")
h4.warning
p
a.close(href="", title="{{'NOTIFICATION.CLOSE' | translate}}")
svg.icon.icon-close
use(xlink:href="#icon-close")