diff --git a/bl-kernel/admin/views/dashboard.php b/bl-kernel/admin/views/dashboard.php index 2c3e92bb..e8e14f30 100644 --- a/bl-kernel/admin/views/dashboard.php +++ b/bl-kernel/admin/views/dashboard.php @@ -41,7 +41,7 @@ $(document).ready(function() { var clippy = $("#jsclippy").select2({ - placeholder: "p('Start typing to see a list of suggestions.') ?>", + placeholder: "p('Start typing to see a list of suggestions') ?>", allowClear: true, width: "100%", theme: "bootstrap4", @@ -64,7 +64,7 @@ html += ''+data.text+''; } else { html += '
'; - html += '
'+data.text+'
'; + html += '
'+data.text+' '+data.type+'
'; html += '
'; html += 'View'; html += 'Edit'; diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index 6c4b5d44..fd67c95d 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -238,7 +238,7 @@ echo Bootstrap::formOpen(array( templateResult: function(data) { var html = data.text if (data.type=="static") { - html += " [" + data.type + "]" + html += ''+data.type+''; } return html; } diff --git a/bl-kernel/admin/views/new-content.php b/bl-kernel/admin/views/new-content.php index f2f634e8..9e1c5cc8 100644 --- a/bl-kernel/admin/views/new-content.php +++ b/bl-kernel/admin/views/new-content.php @@ -207,9 +207,9 @@ echo Bootstrap::formOpen(array( return markup; }, templateResult: function(data) { - var html = data.text + var html = data.text; if (data.type=="static") { - html += " [" + data.type + "]" + html += ''+data.type+''; } return html; } diff --git a/bl-languages/en.json b/bl-languages/en.json index 93685b3a..0326c42b 100644 --- a/bl-languages/en.json +++ b/bl-languages/en.json @@ -389,5 +389,7 @@ "preview": "Preview", "author-can-write-and-edit-their-own-content": "Author: Can write and edit their own content. Editor: Can write and edit the content of others.", "custom-fields": "Custom fields", - "define-custom-fields-for-the-content": "Define custom fields for the content. Learn more about custom fields in the documentation." + "define-custom-fields-for-the-content": "Define custom fields for the content. Learn more about custom fields in the documentation.", + "start-typing-to-see-a-list-of-suggestions": "Start typing to see a list of suggestions.", + "view": "View" } \ No newline at end of file