Merge pull request #17 from discourse/fix_default_description_text

FIX: Remove bad default query description and add placeholder instead
This commit is contained in:
Rishabh 2018-08-20 14:05:05 +05:30 committed by GitHub
commit 71845a3d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@
{{text-field value=selectedItem.name}}
</div>
<div class="desc">
{{textarea value=selectedItem.description}}
{{textarea value=selectedItem.description placeholder=(i18n "explorer.description_placeholder")}}
</div>
{{else}}
<div class="name">

View File

@ -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"

View File

@ -571,7 +571,7 @@ SQL
def initialize
@name = 'Unnamed Query'
@description = 'Enter a description here'
@description = ''
@sql = 'SELECT 1'
end