diff --git a/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs b/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs index 4c5af37..6a922ea 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs @@ -41,7 +41,7 @@ {{text-field value=selectedItem.name}}
- {{textarea value=selectedItem.description}} + {{textarea value=selectedItem.description placeholder=(i18n "explorer.description_placeholder")}}
{{else}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 1bf2ba0..baf1e50 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -26,6 +26,7 @@ en: title: "Data Explorer" create: "Create New" create_placeholder: "Query name..." + description_placeholder: "Enter a description here" import: label: "Import" modal: "Import A Query" diff --git a/plugin.rb b/plugin.rb index 7aa0f7a..4b03fe7 100644 --- a/plugin.rb +++ b/plugin.rb @@ -571,7 +571,7 @@ SQL def initialize @name = 'Unnamed Query' - @description = 'Enter a description here' + @description = '' @sql = 'SELECT 1' end