Skip to content

Commit

Permalink
Update MVEA identifier status to badge a suspended identifier. (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored Feb 19, 2024
1 parent f969b37 commit 6928f05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/View/Helper/VueHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@

class VueHelper extends Helper {
private array $locales_list = [
'enumeration' => [
'SuspendableStatusEnum.S'
],
'field' => [
'login',
'primary',
Expand Down
1 change: 1 addition & 0 deletions app/webroot/js/comanage/components/mvea/mvea-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export default {
<a :href="mveaLink" class="row-link" @click.prevent>{{ this.mvea.identifier }}</a>
</div>
<div class="field-data data-label">
<span v-if="this.mvea.status == 'S'" class="mr-1 badge bg-danger">{{ this.txt["SuspendableStatusEnum.S"] }}</span>
<span v-if="this.mvea.login" class="mr-1 badge bg-outline-secondary login">{{ this.txt.login }}</span>
<span class="mr-1 badge bg-light">{{ this.mvea.type.display_name }}</span>
</div>
Expand Down

0 comments on commit 6928f05

Please sign in to comment.