mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
feat(runners): add strings to UI
This commit is contained in:
parent
8352a94218
commit
8a1af9082c
@ -36,8 +36,7 @@
|
||||
|
||||
<v-checkbox
|
||||
v-model="item.active"
|
||||
:label="$t('active')"
|
||||
v-if="isAdmin"
|
||||
:label="$t('enabled')"
|
||||
></v-checkbox>
|
||||
</v-form>
|
||||
</template>
|
||||
|
@ -149,13 +149,13 @@
|
||||
v-model="item.active"
|
||||
>
|
||||
<template v-slot:label>
|
||||
Enabled
|
||||
{{ $t('enabled') }}
|
||||
<span
|
||||
v-if="item.active"
|
||||
class="ml-3"
|
||||
style="color: limegreen; font-weight: bold;"
|
||||
>
|
||||
Next run {{ nextRunTime() | formatDate }}.
|
||||
{{ $t('scheduleNextRun') }} {{ nextRunTime() | formatDate }}.
|
||||
</span>
|
||||
</template>
|
||||
</v-checkbox>
|
||||
|
@ -248,4 +248,12 @@ export default {
|
||||
DeleteIntegrationMsg: 'Are you sure you want to delete this Integration?',
|
||||
AddAlias: 'Add Alias',
|
||||
LoadAlias: 'Loading aliases...',
|
||||
runners: 'Runners',
|
||||
newRunner: 'New Runner',
|
||||
enabled: 'Enabled',
|
||||
scheduleNextRun: 'Next run',
|
||||
maxNumberOfParallelTasks: 'Maximum parallel tasks',
|
||||
runnerUsage: 'Usage:',
|
||||
runnerToken: 'Token:',
|
||||
editRunner: 'Edit Runner',
|
||||
};
|
||||
|
@ -226,7 +226,7 @@ semaphore runner --no-config`;
|
||||
value: 'webhook',
|
||||
},
|
||||
{
|
||||
text: this.$i18n.t('maxNumberOfParallelTasksOptional'),
|
||||
text: this.$i18n.t('maxNumberOfParallelTasks'),
|
||||
value: 'max_parallel_tasks',
|
||||
}, {
|
||||
text: this.$i18n.t('actions'),
|
||||
|
Loading…
Reference in New Issue
Block a user