forked from umbraco/Umbraco-CMS
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
91 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/Umbraco.Web.UI.Client/src/views/common/notifications/confirmroutechange.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<div ng-controller="Umbraco.Notifications.ConfirmRouteChangeController"> | ||
<h4>You have unsaved changes</h4> | ||
<p>Are you sure you want to navigate away from this page? - you have unsaved changes</p> | ||
|
||
<!--<p>Are you sure you want to navigate away from this page? - you have unsaved changes</p>--> | ||
<br/> | ||
<button class="btn btn-warning" ng-click="discard(notification)">Discard changes</button> | ||
<button class="btn" ng-click="stay(notification)">Stay</button> | ||
<button class="btn btn-link" ng-click="stay(notification)">Cancel</button> | ||
</div> |
14 changes: 14 additions & 0 deletions
14
src/Umbraco.Web.UI.Client/src/views/common/notifications/deployerror.controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//used for the media picker dialog | ||
angular.module("umbraco").controller("Umbraco.Notifications.DeployErrorController", | ||
function ($scope, $location, $log, notificationsService) { | ||
|
||
$scope.close = function(not){ | ||
notificationsService.remove(not); | ||
}; | ||
|
||
$scope.link = function(target, not){ | ||
notificationsService.remove(not); | ||
$location.path(target); | ||
}; | ||
|
||
}); |
7 changes: 7 additions & 0 deletions
7
src/Umbraco.Web.UI.Client/src/views/common/notifications/deployerror.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div ng-controller="Umbraco.Notifications.DeployErrorController"> | ||
<h3>{{notification.args.message}}</h3> | ||
<h4><a ng-click="link('run/run/edit/test', notification)" href="#" prevent-default>Test</a> job before deployment</h4> | ||
<br/> | ||
<br/> | ||
<button class="btn btn-link" ng-click="close(notification)">Cancel</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters