airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata-django-portal] 07/13: AIRAVATA-2727 Added cancel button to compute preference page
Date Tue, 14 Aug 2018 19:51:49 GMT
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

commit 2556b2eddca92e7567517b723b983a9321e8b006
Author: Marcus Christie <machrist@iu.edu>
AuthorDate: Mon Aug 13 13:15:22 2018 -0400

    AIRAVATA-2727 Added cancel button to compute preference page
---
 .../components/admin/group_resource_preferences/ComputePreference.vue | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
b/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
index 35ad166..87c72db 100644
--- a/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
+++ b/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
@@ -53,6 +53,7 @@
     <div class="row">
         <div class="col d-flex justify-content-end">
             <b-button variant="primary" @click="save">Save</b-button>
+            <b-button class="ml-2" variant="secondary" @click="cancel">Cancel</b-button>
         </div>
     </div>
   </div>
@@ -189,6 +190,9 @@
               console.log("Error occurred", error);
             });
         }
+      },
+      cancel: function() {
+        this.$router.back();
       }
     },
   }


Mime
View raw message