diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-13 12:11:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-13 12:11:17 +0300 |
commit | 2ea5c7c9c919b801d5039722e271ba077cc05986 (patch) | |
tree | 33da832deb3f743d15db4ad630e0ac989ae68455 /app/assets/javascripts/integrations | |
parent | c053e70de25ad332aa99e4eefadccd7b9b46748e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/integrations')
-rw-r--r-- | app/assets/javascripts/integrations/index/components/integrations_table.vue | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/app/assets/javascripts/integrations/index/components/integrations_table.vue b/app/assets/javascripts/integrations/index/components/integrations_table.vue index fc5048490a7..c94c509e811 100644 --- a/app/assets/javascripts/integrations/index/components/integrations_table.vue +++ b/app/assets/javascripts/integrations/index/components/integrations_table.vue @@ -93,8 +93,11 @@ export default { }, methods: { getStatusTooltipTitle(integration) { - return sprintf(s__('Integrations|%{integrationTitle}: active'), { + const status = integration.active ? 'active' : 'inactive'; + + return sprintf(s__('Integrations|%{integrationTitle}: %{status}'), { integrationTitle: integration.title, + status, }); }, }, @@ -105,10 +108,10 @@ export default { <gl-table :items="filteredIntegrations" :fields="fields" :empty-text="emptyText" show-empty fixed> <template #cell(active)="{ item }"> <gl-icon - v-if="item.active" + v-if="item.configured" v-gl-tooltip - name="check" - class="gl-text-green-500" + :name="item.active ? 'status-success' : 'status-paused'" + :class="item.active ? 'gl-text-green-500' : 'gl-text-gray-500'" :title="getStatusTooltipTitle(item)" /> </template> |