Merge pull request #18 from techAPJ/hide-controls

hide controls on query page
This commit is contained in:
Rishabh 2018-08-19 18:39:03 +05:30 committed by GitHub
commit 3586919881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 18 deletions

View File

@ -3,6 +3,7 @@
{{#if disallow}} {{#if disallow}}
<h2>{{i18n "explorer.admins_only"}}</h2> <h2>{{i18n "explorer.admins_only"}}</h2>
{{else}} {{else}}
{{#unless selectedQueryId}}
<div class="query-list"> <div class="query-list">
{{combo-box valueAttribute="id" value=selectedQueryId nameProperty="listName" none="explorer.menu_none" content=content castInteger="true" nameChanges="true"}} {{combo-box valueAttribute="id" value=selectedQueryId nameProperty="listName" none="explorer.menu_none" content=content castInteger="true" nameChanges="true"}}
{{d-button action="showCreate" icon="plus" class="no-text"}} {{d-button action="showCreate" icon="plus" class="no-text"}}
@ -24,6 +25,7 @@
{{/if}} {{/if}}
<hr> <hr>
{{/unless}}
{{#if content.length}} {{#if content.length}}
{{#if selectedItem.fake}} {{#if selectedItem.fake}}