Skip to content

Commit a1c1b0e

Browse files
replaced VuetifyBased btns with KButton
Signed-off-by: Abhishek-Punhani <[email protected]>
1 parent 9391f45 commit a1c1b0e

File tree

3 files changed

+23
-25
lines changed

3 files changed

+23
-25
lines changed

contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/ImportFromChannelsModal.vue

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,36 +60,33 @@
6060
</VBtn>
6161
</VLayout>
6262
</VFadeTransition>
63-
<VBtn
63+
<KButton
6464
v-if="!previewIsSelected"
65-
color="primary"
65+
primary
66+
:text="$tr('addButton')"
6667
@click="selectNode(previewNode)"
67-
>
68-
{{ $tr('addButton') }}
69-
</VBtn>
68+
/>
7069
</template>
7170
</ResourceDrawer>
7271
<template #bottom>
7372
<div class="mx-4 subheading">
7473
{{ $tr('resourcesSelected', { count: selectedResourcesCount }) }}
7574
</div>
7675
<VSpacer />
77-
<VBtn
76+
<KButton
7877
v-if="isReview"
78+
primary
7979
:disabled="selected.length === 0"
80-
color="primary"
80+
:text="$tr('importAction')"
8181
@click="handleClickImport"
82-
>
83-
{{ $tr('importAction') }}
84-
</VBtn>
85-
<VBtn
82+
/>
83+
<KButton
8684
v-else
87-
color="primary"
85+
primary
8886
:disabled="selected.length === 0"
87+
:text="$tr('reviewAction')"
8988
@click="handleClickReview"
90-
>
91-
{{ $tr('reviewAction') }}
92-
</VBtn>
89+
/>
9390
</template>
9491
</FullscreenModal>
9592

contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/SearchOrBrowseWindow.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
v-if="!isBrowsing"
1414
class="my-2"
1515
>
16-
<ActionLink
16+
<KButton
1717
:text="$tr('backToBrowseAction')"
18+
appearance="basic-link"
1819
@click="handleBackToBrowse"
1920
/>
2021
</div>
@@ -44,16 +45,14 @@
4445
<Icon icon="search" />
4546
</template>
4647
<template #append-outer>
47-
<VBtn
48+
<KButton
4849
class="px-4 search-btn"
49-
color="primary"
50+
primary
5051
type="submit"
52+
:text="$tr('searchAction')"
5153
:disabled="!searchIsValid"
52-
depressed
53-
large
54-
>
55-
{{ $tr('searchAction') }}
56-
</VBtn>
54+
appearance="raised-button"
55+
/>
5756
</template>
5857
</VTextField>
5958
</VForm>
@@ -62,10 +61,11 @@
6261
v-if="!isBrowsing"
6362
class="my-2 px-2"
6463
>
65-
<ActionLink
64+
<KButton
6665
class="mb-3"
6766
:text="$tr('savedSearchesLabel')"
6867
:disabled="!savedSearchesExist"
68+
appearance="basic-link"
6969
@click="showSavedSearches = true"
7070
/>
7171
</div>

contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/SearchResultsList.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@
3737
})
3838
}}
3939
</span>
40-
<ActionLink
40+
<KButton
4141
class="mx-2"
4242
:disabled="currentSearchSaved"
4343
:text="currentSearchSaved ? $tr('searchSavedSnackbar') : $tr('saveSearchAction')"
44+
appearance="basic-link"
4445
@click="handleClickSaveSearch"
4546
/>
4647
</VFlex>

0 commit comments

Comments
 (0)