Skip to content

Commit

Permalink
Merge pull request #48 from abjerner/umbraco8
Browse files Browse the repository at this point in the history
(WIP) Support for Umbraco 8
  • Loading branch information
abjerner authored Jun 3, 2019
2 parents e87db0c + 006b3f0 commit 7f86807
Show file tree
Hide file tree
Showing 44 changed files with 1,178 additions and 1,163 deletions.
115 changes: 0 additions & 115 deletions Gruntfile.js

This file was deleted.

21 changes: 0 additions & 21 deletions package.json

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<language alias="da" intName="Danish" localName="dansk" lcid="6" culture="da-DK">
<area alias="dashboardTabs">
<key alias="Skybrud.Umbraco.Redirects">Redirects</key>
</area>
<area alias="redirects">
<key alias="redirects">Redirects</key>
<key alias="addNewRedirect">Tilføj nyt redirect</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<language alias="en" intName="English (UK)" localName="English (UK)" lcid="" culture="en-GB">
<area alias="dashboardTabs">
<key alias="Skybrud.Umbraco.Redirects">Redirects</key>
</area>
<area alias="redirects">
<key alias="redirects">Redirects</key>
<key alias="addNewRedirect">Add new redirect</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<language alias="en" intName="English (US)" localName="English (US)" lcid="" culture="en-US">
<area alias="dashboardTabs">
<key alias="Skybrud.Umbraco.Redirects">Redirects</key>
</area>
<area alias="redirects">
<key alias="redirects">Redirects</key>
<key alias="addNewRedirect">Add new redirect</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('umbraco').controller('SkybrudUmbracoRedirects.Dashboard.Controller', function ($scope, $http, $q, $timeout, dialogService, notificationsService, localizationService, skybrudRedirectsService) {
angular.module('umbraco').controller('SkybrudUmbracoRedirects.Dashboard.Controller', function ($scope, $http, $q, $timeout, editorService, notificationsService, localizationService, skybrudRedirectsService) {

$scope.redirects = [];
$scope.mode = 'list';
Expand Down Expand Up @@ -61,7 +61,7 @@

// Initial pagination options
$scope.pagination = {
text: '',
text: "",
page: 1,
pages: 0,
limit: 11,
Expand Down Expand Up @@ -161,8 +161,8 @@

};

skybrudRedirectsService.getRootNodes().success(function (r) {
angular.forEach(r.data, function (rootNode) {
skybrudRedirectsService.getRootNodes().then(function (r) {
angular.forEach(r.data.items, function (rootNode) {
$scope.rootNodes.push(rootNode);
});
});
Expand Down
Loading

0 comments on commit 7f86807

Please sign in to comment.