Skip to content

Commit a0c5b4e

Browse files
committed
feat(ui): remove extra alarts
1 parent 161d531 commit a0c5b4e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

web/src/lang/en.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ export default {
298298
deleteRunner: 'Delete Runner',
299299
newRunnerToken: 'New Runner',
300300
askDeleteRunner: 'Do you really want to delete runner {runner}?',
301-
project_runners_only_pro: 'Project-level runners are only available in the <b>PRO</b> version.',
301+
project_runners_only_pro: 'Project-level runners are only available for <b>PRO</b> users.',
302+
secret_storage_only_pro: 'Secret storages are only available for <b>PRO</b> users.',
302303
foss_runners_limited: 'The open-source version has limited functionality; full functionality is in the <b>PRO</b> version.',
303304
learn_more_about_pro: 'Learn more',
304305

web/src/views/Runners.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,13 @@
230230
<v-divider v-if="!projectId" />
231231

232232
<v-alert
233-
v-if="!premiumFeatures.project_runners"
233+
v-if="projectId && !premiumFeatures.project_runners"
234234
type="info"
235235
text
236236
color="hsl(348deg, 86%, 61%)"
237237
style="border-radius: 0;"
238238
>
239-
<span v-if="projectId" v-html="$t('project_runners_only_pro')"></span>
240-
241-
<span v-else v-html="$t('foss_runners_limited')"></span>
239+
<span v-html="$t('project_runners_only_pro')"></span>
242240

243241
<v-btn
244242
class="ml-2 pr-2"

web/src/views/project/SecretStorages.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
color="hsl(348deg, 86%, 61%)"
102102
style="border-radius: 0;"
103103
>
104-
<span v-html="$t('foss_runners_limited')"></span>
104+
<span v-html="$t('secret_storage_only_pro')"></span>
105105

106106
<v-btn
107107
class="ml-2 pr-2"

0 commit comments

Comments
 (0)