set a successful message for requests

This commit is contained in:
Lisa Passing 2015-04-10 15:23:54 +02:00
parent c116cc3bbe
commit 11966b1445

View File

@ -26,6 +26,8 @@ Controller = Ember.ObjectController.extend
message = @get('model.message')
if @config.pro && message == "private repository"
''
else if !message
'Build created successfully '
else
message
).property('model.message')