Nested Content: Fix controls to be more accessible (#6998)

* Change a to button
* Added localization for copy
* Correcting lost parts from merge.
This commit is contained in:
Jan Skovgaard
2019-11-27 13:38:02 +01:00
committed by Niels Lyngsø
parent 880d65bb42
commit c20416a374
3 changed files with 15 additions and 7 deletions

View File

@@ -47,9 +47,11 @@
vm.hasContentTypes = model.config.contentTypes.length > 0;
var labels = {};
localizationService.localizeMany(["grid_addElement", "content_createEmpty"]).then(function (data) {
vm.labels = labels;
localizationService.localizeMany(["grid_addElement", "content_createEmpty", "actions_copy"]).then(function (data) {
labels.grid_addElement = data[0];
labels.content_createEmpty = data[1];
labels.copy_icon_title = data[2]
});
function setCurrentNode(node) {