Fix for good practique code
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Padawan 2021-01-12 10:11:37 +01:00
parent a9eb0355d4
commit 509de4fa0a
8 changed files with 122 additions and 116 deletions

View File

@ -1,6 +1,7 @@
<vn-card class="summary">
<h5>
<a ng-if="::summary.id"
<a
ng-if="::summary.id"
vn-tooltip="Go to the user"
ui-sref="account.card.summary({id: {{::summary.id}}})"
name="goToSummary">

View File

@ -4,7 +4,8 @@
</vn-crud-model>
<vn-card class="summary">
<h5>
<a ng-if="::$ctrl.summary.claim.id"
<a
ng-if="::$ctrl.summary.claim.id"
vn-tooltip="Go to the claim"
ui-sref="claim.card.summary({id: {{::$ctrl.summary.claim.id}}})"
name="goToSummary">

View File

@ -210,7 +210,8 @@
<span translate vn-tooltip="Go to">Web access</span>
</a>
</h4>
<h4 translate
<h4
translate
ng-show="!$ctrl.isEmployee">Web access
</h4>
<vn-label-value label="User"

View File

@ -119,7 +119,9 @@
</vn-one>
<vn-one name="tax">
<h4 ng-show="$ctrl.isBuyer || $ctrl.isAdministrative">
<a ui-sref="item.card.tax({id:$ctrl.item.id})">
<a
ui-sref="item.card.tax({id:$ctrl.item.id})"
target="_self">
<span translate vn-tooltip="Go to">Tax</span>
</a>
</h4>

View File

@ -37,7 +37,8 @@
<vn-horizontal class="vn-pa-md">
<vn-auto>
<h4>
<a ui-sref="zone.card.warehouses({id:$ctrl.zone.id})">
<a
ui-sref="zone.card.warehouses({id:$ctrl.zone.id})">
<span translate vn-tooltip="Go to">Warehouse</span>
</a>
</h4>