Skip to content

Commit

Permalink
Merge pull request #872 from aravindparappil46/feature/show-inactive-…
Browse files Browse the repository at this point in the history
…project-label

Show Badge For Inactive Projects
  • Loading branch information
nscuro authored May 16, 2024
2 parents cbabbd7 + f335ceb commit 2767ca5
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "In Triage",
"inactive": "Inaktiv",
"inactive_active_children": "Das Projekt kann nicht auf inaktiv gesetzt werden, wenn es aktive untergeordnete Projekte hat",
"inactive_versions": "Inaktive Versionen",
"include_acl": "Zugriffskontrollliste einschließen",
"include_audit_history": "Prüfverlauf einschließen",
"include_components": "Komponenten einbinden",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "In Triage",
"inactive": "Inactive",
"inactive_active_children": "The project cannot be set to inactive if it has active children",
"inactive_versions": "Inactive Versions",
"include_acl": "Include access control list",
"include_audit_history": "Include audit history",
"include_components": "Include components",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "En triaje",
"inactive": "Inactivo",
"inactive_active_children": "El proyecto no se puede configurar como inactivo si tiene hijos activos",
"inactive_versions": "Versiones inactivas",
"include_acl": "Incluir lista de control de acceso",
"include_audit_history": "Incluir historial de auditoría",
"include_components": "Incluir componentes",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "Au tri",
"inactive": "Inactif",
"inactive_active_children": "Le projet ne peut pas être défini comme inactif s'il a des enfants actifs",
"inactive_versions": "Versions inactives",
"include_acl": "Inclure la liste de contrôle d'accès",
"include_audit_history": "Inclure l'historique d'audit",
"include_components": "Inclure les composants",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "ट्राइएज में",
"inactive": "निष्क्रिय",
"inactive_active_children": "यदि प्रोजेक्ट में सक्रिय बच्चे हैं तो उसे निष्क्रिय नहीं किया जा सकता",
"inactive_versions": "निष्क्रिय संस्करण",
"include_acl": "पहुँच नियंत्रण सूची शामिल करें",
"include_audit_history": "ऑडिट इतिहास शामिल करें",
"include_components": "घटक शामिल करें",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "Nel triage",
"inactive": "Inattivo",
"inactive_active_children": "Il progetto non può essere impostato su inattivo se ha figli attivi",
"inactive_versions": "Versioni inattive",
"include_acl": "Includere l'elenco di controllo degli accessi",
"include_audit_history": "Includere la cronologia degli audit",
"include_components": "Includi componenti",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "トリアージ中",
"inactive": "非活性",
"inactive_active_children": "アクティブな子プロジェクトがある場合、プロジェクトを非アクティブに設定することはできません。",
"inactive_versions": "非アクティブなバージョン",
"include_acl": "アクセス制御リストを含める",
"include_audit_history": "監査履歴を含める",
"include_components": "コンポーネントを含める",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "W segregacji",
"inactive": "Nieaktywny",
"inactive_active_children": "Projektu nie można ustawić jako nieaktywnego, jeśli ma aktywne elementy podrzędne",
"inactive_versions": "Nieaktywne wersje",
"include_acl": "Dołącz listę kontroli dostępu",
"include_audit_history": "Dołącz historię audytu",
"include_components": "Uwzględnij komponenty",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "Em triagem",
"inactive": "Inativo",
"inactive_active_children": "O projeto não pode ser definido como inativo se tiver filhos ativos",
"inactive_versions": "Versões inativas",
"include_acl": "Incluir lista de controle de acesso",
"include_audit_history": "Incluir histórico de auditoria",
"include_components": "Incluir componentes",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "Em triagem",
"inactive": "Inativo",
"inactive_active_children": "O projeto não pode ser definido como inativo se tiver filhos ativos",
"inactive_versions": "Versões inativas",
"include_acl": "Incluir lista de controle de acesso",
"include_audit_history": "Incluir histórico de auditoria",
"include_components": "Incluir componentes",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "В сортировке",
"inactive": "Неактивный",
"inactive_active_children": "Проект нельзя сделать неактивным, если у него есть активные дочерние элементы.",
"inactive_versions": "Неактивные версии",
"include_acl": "Включить список контроля доступа",
"include_audit_history": "Включить историю аудита",
"include_components": "Включить компоненты",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "В Triage",
"inactive": "Неактивний",
"inactive_active_children": "Проект не можна зробити неактивним, якщо він має активних дітей",
"inactive_versions": "Неактивні версії",
"include_acl": "Додайте список контролю доступу",
"include_audit_history": "Включіть історію аудиту",
"include_components": "Включіть компоненти",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"in_triage": "在分类中",
"inactive": "不活跃",
"inactive_active_children": "如果项目有活跃子项目,则不能将其设置为非活跃项目",
"inactive_versions": "非活动版本",
"include_acl": "包括访问控制列表",
"include_audit_history": "包括审计历史",
"include_components": "包括组件",
Expand Down
5 changes: 4 additions & 1 deletion src/views/portfolio/projects/Project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<b-dropdown-group
v-if="inactiveProjectVersions.length > 0"
header="Inactive Versions"
:header="$t('message.inactive_versions')"
>
<span
v-for="projectVersion in inactiveProjectVersions"
Expand All @@ -72,6 +72,9 @@
</ol>
{{ project.version }}
</b-col>
<b-badge v-if="!this.project.active" :variant="'tab-warn'">
{{ $t('message.inactive').toUpperCase() }}
</b-badge>
<b-col class="d-none d-md-flex">
<span
class="text-muted font-xs font-italic align-text-top text-truncate"
Expand Down

0 comments on commit 2767ca5

Please sign in to comment.