You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/05/31 18:35:06 UTC
[airavata-django-portal] branch master updated: AIRAVATA-3054
Adding searchQuery to output field editor when simple type
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/master by this push:
new f7e2f3d AIRAVATA-3054 Adding searchQuery to output field editor when simple type
f7e2f3d is described below
commit f7e2f3d06626cc395a11c9186ca65b972fd20300
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri May 31 14:34:54 2019 -0400
AIRAVATA-3054 Adding searchQuery to output field editor when simple type
---
.../src/components/applications/ApplicationOutputFieldEditor.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/django_airavata/apps/admin/static/django_airavata_admin/src/components/applications/ApplicationOutputFieldEditor.vue b/django_airavata/apps/admin/static/django_airavata_admin/src/components/applications/ApplicationOutputFieldEditor.vue
index e9db427..57fece5 100644
--- a/django_airavata/apps/admin/static/django_airavata_admin/src/components/applications/ApplicationOutputFieldEditor.vue
+++ b/django_airavata/apps/admin/static/django_airavata_admin/src/components/applications/ApplicationOutputFieldEditor.vue
@@ -30,6 +30,9 @@
</b-form-radio-group>
</b-form-group>
</div>
+ <b-form-group v-if="isSimpleValueType" label="Search Query" :label-for="id+'-search-query'">
+ <b-form-input :id="id+'-search-query'" type="text" v-model="data.searchQuery" :disabled="readonly"></b-form-input>
+ </b-form-group>
</b-card>
</template>
@@ -65,6 +68,9 @@ export default {
},
id() {
return "id-" + this.data.key;
+ },
+ isSimpleValueType() {
+ return this.data.type.isSimpleValueType;
}
},
methods: {