From 138b8517373aec69b4ec37659dd694cea95c0334 Mon Sep 17 00:00:00 2001 From: entermex Date: Fri, 14 Jul 2023 13:05:07 +0200 Subject: [PATCH 1/3] Change color red to green on cancel buttons of post and comments --- webapp/components/CommentForm/CommentForm.vue | 1 - webapp/components/ContributionForm/ContributionForm.vue | 1 - 2 files changed, 2 deletions(-) diff --git a/webapp/components/CommentForm/CommentForm.vue b/webapp/components/CommentForm/CommentForm.vue index 5f6a2420d..6d9b59de6 100644 --- a/webapp/components/CommentForm/CommentForm.vue +++ b/webapp/components/CommentForm/CommentForm.vue @@ -8,7 +8,6 @@ :disabled="disabled && !update" @click="handleCancel" data-test="cancel-button" - danger > {{ $t('actions.cancel') }} diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 0067dab72..261c1d28d 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -173,7 +173,6 @@ data-test="cancel-button" :disabled="loading" @click="$router.back()" - danger > {{ $t('actions.cancel') }} From 9f8f2635ab8516171f73f25c5bd8c81dbf4cb8ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 19 Jul 2023 12:19:45 +0200 Subject: [PATCH 2/3] Fix linting --- webapp/components/ContributionForm/ContributionForm.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 261c1d28d..b595357f9 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -169,11 +169,7 @@ - + {{ $t('actions.cancel') }} From 5ecf6a7fee917cbb5e8fdd59cbdd55818fff0c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 19 Jul 2023 12:31:52 +0200 Subject: [PATCH 3/3] Change cancel button in 'MySomethingList' from danger to green --- .../_new/features/MySomethingList/MySomethingList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/components/_new/features/MySomethingList/MySomethingList.vue b/webapp/components/_new/features/MySomethingList/MySomethingList.vue index e4f625c11..5d904675e 100644 --- a/webapp/components/_new/features/MySomethingList/MySomethingList.vue +++ b/webapp/components/_new/features/MySomethingList/MySomethingList.vue @@ -56,7 +56,7 @@ > {{ isEditing ? $t('actions.save') : texts.addButton }} - + {{ $t('actions.cancel') }}