Browse Source

Remove double slashes in directives (fixes #2143)

Ben Schulz 10 years ago
parent
commit
6ff31ac666

+ 1 - 1
gui/syncthing/device/editDeviceModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.device')
     .directive('editDeviceModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/device//editDeviceModalView.html'
+            templateUrl: 'syncthing/device/editDeviceModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/device/idqrModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.device')
     .directive('idqrModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/device//idqrModalView.html'
+            templateUrl: 'syncthing/device/idqrModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/folder/editFolderModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.folder')
     .directive('editFolderModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/folder//editFolderModalView.html'
+            templateUrl: 'syncthing/folder/editFolderModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/folder/editIgnoresModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.folder')
     .directive('editIgnoresModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/folder//editIgnoresModalView.html'
+            templateUrl: 'syncthing/folder/editIgnoresModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/settings/advancedSettingsModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.settings')
     .directive('advancedSettingsModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/settings//advancedSettingsModalView.html'
+            templateUrl: 'syncthing/settings/advancedSettingsModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/settings/settingsModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.settings')
     .directive('settingsModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/settings//settingsModalView.html'
+            templateUrl: 'syncthing/settings/settingsModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/transfer/failedFilesModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.transfer')
     .directive('failedFilesModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/transfer//failedFilesModalView.html'
+            templateUrl: 'syncthing/transfer/failedFilesModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/transfer/neededFilesModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.transfer')
     .directive('neededFilesModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/transfer//neededFilesModalView.html'
+            templateUrl: 'syncthing/transfer/neededFilesModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/usagereport/usageReportModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.usagereport')
     .directive('usageReportModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/usagereport//usageReportModalView.html'
+            templateUrl: 'syncthing/usagereport/usageReportModalView.html'
         };
 });

+ 1 - 1
gui/syncthing/usagereport/usageReportPreviewModalDirective.js

@@ -2,6 +2,6 @@ angular.module('syncthing.usagereport')
     .directive('usageReportPreviewModal', function () {
         return {
             restrict: 'A',
-            templateUrl: 'syncthing/usagereport//usageReportPreviewModalView.html'
+            templateUrl: 'syncthing/usagereport/usageReportPreviewModalView.html'
         };
 });