FIX: Remove bad default query description and add placeholder instead

This commit is contained in:
Rishabh Nambiar 2018-08-19 10:24:53 +05:30
parent 915657b8cd
commit 42b6dbbae2
3 changed files with 3 additions and 2 deletions

View File

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

View File

@ -26,6 +26,7 @@ en:
title: "Data Explorer" title: "Data Explorer"
create: "Create New" create: "Create New"
create_placeholder: "Query name..." create_placeholder: "Query name..."
description_placeholder: "Enter a description here"
import: import:
label: "Import" label: "Import"
modal: "Import A Query" modal: "Import A Query"

View File

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