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 2021/05/18 22:15:23 UTC
[airavata-django-portal] branch develop updated: AIRAVATA-3458
Making UI more consistent
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/develop by this push:
new e86f35e AIRAVATA-3458 Making UI more consistent
e86f35e is described below
commit e86f35e98d9e86a22a174e3c1fb08c45213bd92a
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue May 18 18:15:10 2021 -0400
AIRAVATA-3458 Making UI more consistent
---
.../storage/storage-edit/UserStorageTextEditViewer.vue | 13 +++++--------
django_airavata/apps/workspace/yarn.lock | 5 +++++
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/storage/storage-edit/UserStorageTextEditViewer.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/storage/storage-edit/UserStorageTextEditViewer.vue
index 1cd824e..14a5428 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/storage/storage-edit/UserStorageTextEditViewer.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/storage/storage-edit/UserStorageTextEditViewer.vue
@@ -1,12 +1,9 @@
<template>
<div>
<div class="user-storage-file-edit-viewer-status">
- <div
- class="user-storage-file-edit-viewer-status-message"
- v-if="editAvailable"
- >
- <span v-if="saved">All the changes are saved.</span>
- <span v-if="!saved">Changes are not saved.</span>
+ <div class="user-storage-file-edit-viewer-status-message">
+ <span v-if="editAvailable && saved">All the changes are saved.</span>
+ <span v-if="editAvailable && !saved">Changes are not saved.</span>
</div>
<div class="user-storage-file-edit-viewer-status-actions">
<user-storage-download-button
@@ -21,8 +18,8 @@
>
</div>
</div>
- <div style="width: 100%" ref="editor"></div>
- <div class="edit-not-available" v-if="!editAvailable">
+ <div style="width: 100%" ref="editor" v-if="editAvailable"></div>
+ <div class="user-storage-file-edit-viewer-no-preview" v-else>
Inline edit not available. Click the <strong>Download</strong> button to
download the file.
</div>
diff --git a/django_airavata/apps/workspace/yarn.lock b/django_airavata/apps/workspace/yarn.lock
index 7fc2a41..a3e1e2a 100644
--- a/django_airavata/apps/workspace/yarn.lock
+++ b/django_airavata/apps/workspace/yarn.lock
@@ -10281,6 +10281,11 @@ vm-browserify@^1.0.1:
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
+vue-async-computed@^3.9.0:
+ version "3.9.0"
+ resolved "https://registry.yarnpkg.com/vue-async-computed/-/vue-async-computed-3.9.0.tgz#af3181c25168bfe9d86d8ffbc7033bf9e484fe84"
+ integrity sha512-ac6m/9zxHHNGGKNOU1en8qNk+fAmEbJLuWL7qyQTFuH3vjv3V4urv//QHcVzCobROM6btnaDG2b+XYMncF/ETA==
+
vue-class-component@^7.1.0:
version "7.2.6"
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-7.2.6.tgz#8471e037b8e4762f5a464686e19e5afc708502e4"