2216 Show active client icon on client index
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-05-18 10:39:40 +02:00
parent 1f2dee9c12
commit a3203fa81f
2 changed files with 14 additions and 1 deletions

View File

@ -84,7 +84,12 @@ vn-item,
flex: none;
align-items: center;
& > .vn-button {
& > vn-icon {
height: 36px;
font: inherit;
}
& > .vn-button, & > vn-icon {
opacity: .4;
margin-left: 8px;
transition: opacity 250ms ease-out;

View File

@ -32,6 +32,14 @@
</vn-label-value>
</vn-item-section>
<vn-item-section side>
<vn-icon-button ng-show="client.isActive == false"
vn-tooltip="Client inactive"
icon="icon-disabled">
</vn-icon-button>
<vn-icon-button ng-show="client.isActive && client.isFreezed == true"
vn-tooltip="Client frozen"
icon="icon-frozen">
</vn-icon-button>
<vn-icon-button
ng-click="$ctrl.filterTickets(client, $event)"
vn-tooltip="Client tickets"