diff --git a/src/javascripts/ng-admin/Crud/button/maBackButton.js b/src/javascripts/ng-admin/Crud/button/maBackButton.js
index 36e09cd2..9f101faa 100644
--- a/src/javascripts/ng-admin/Crud/button/maBackButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maBackButton.js
@@ -18,9 +18,9 @@ define(function () {
};
},
template:
-'' +
- ' {{ ::label }}' +
-''
+`
+ {{ ::label }}
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maBatchDeleteButton.js b/src/javascripts/ng-admin/Crud/button/maBatchDeleteButton.js
index 09c8b021..c734d722 100644
--- a/src/javascripts/ng-admin/Crud/button/maBatchDeleteButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maBatchDeleteButton.js
@@ -27,9 +27,9 @@ define(function () {
};
},
template:
-'' +
- ' {{ ::label }}' +
-''
+`
+ {{ ::label }}
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maCreateButton.js b/src/javascripts/ng-admin/Crud/button/maCreateButton.js
index f5db381a..e3537bae 100644
--- a/src/javascripts/ng-admin/Crud/button/maCreateButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maCreateButton.js
@@ -19,9 +19,9 @@ define(function () {
};
},
template:
-'' +
- ' {{ ::label }}' +
-''
+`
+ {{ ::label }}
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maDeleteButton.js b/src/javascripts/ng-admin/Crud/button/maDeleteButton.js
index 53e561c1..952f24db 100644
--- a/src/javascripts/ng-admin/Crud/button/maDeleteButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maDeleteButton.js
@@ -23,9 +23,9 @@ define(function () {
};
},
template:
-'' +
- ' {{ ::label }}' +
-''
+`
+ {{ ::label }}
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maEditButton.js b/src/javascripts/ng-admin/Crud/button/maEditButton.js
index 8bfefdbe..bcf233a7 100644
--- a/src/javascripts/ng-admin/Crud/button/maEditButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maEditButton.js
@@ -23,9 +23,9 @@ define(function () {
};
},
template:
-'' +
- ' {{ ::label }}' +
-''
+`
+ {{ ::label }}
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maExportToCsvButton.js b/src/javascripts/ng-admin/Crud/button/maExportToCsvButton.js
index d4bd62f5..92235a49 100644
--- a/src/javascripts/ng-admin/Crud/button/maExportToCsvButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maExportToCsvButton.js
@@ -12,7 +12,6 @@ define(function () {
datastore: '&',
search: '&'
},
- template: '',
link: function(scope) {
scope.label = scope.label || 'Export';
@@ -97,7 +96,13 @@ define(function () {
fakeLink.click();
});
};
- }
+ },
+ template:
+`
+
+ {{ ::label }}
+
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maFilteredListButton.js b/src/javascripts/ng-admin/Crud/button/maFilteredListButton.js
index 74267e8a..9bd42c9c 100644
--- a/src/javascripts/ng-admin/Crud/button/maFilteredListButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maFilteredListButton.js
@@ -38,9 +38,9 @@ define(function () {
};
},
template:
-'' +
- ' {{ ::label }}' +
-''
+`
+ {{ ::label }}
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maListButton.js b/src/javascripts/ng-admin/Crud/button/maListButton.js
index 6b2ed382..13a14e57 100644
--- a/src/javascripts/ng-admin/Crud/button/maListButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maListButton.js
@@ -34,9 +34,9 @@ define(function () {
};
},
template:
-'' +
- ' {{ ::label }}' +
-''
+`
+ {{ ::label }}
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maShowButton.js b/src/javascripts/ng-admin/Crud/button/maShowButton.js
index bd6563c1..e203d504 100644
--- a/src/javascripts/ng-admin/Crud/button/maShowButton.js
+++ b/src/javascripts/ng-admin/Crud/button/maShowButton.js
@@ -24,9 +24,9 @@ define(function () {
};
},
template:
-'' +
- ' {{ ::label }}' +
-''
+`
+ {{ ::label }}
+`
};
}
diff --git a/src/javascripts/ng-admin/Crud/button/maViewBatchActions.js b/src/javascripts/ng-admin/Crud/button/maViewBatchActions.js
index a4fea586..460466e0 100644
--- a/src/javascripts/ng-admin/Crud/button/maViewBatchActions.js
+++ b/src/javascripts/ng-admin/Crud/button/maViewBatchActions.js
@@ -23,21 +23,22 @@ function maViewBatchActionsDirective($injector) {
scope.buttons = null;
}
},
+ // the ng-class hidden is necessary to hide the inner blank space used for spacing buttons when the selection is not empty
template:
-`
-
-
+`
+
+
`
};
}