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"> <vn-card class="summary">
<h5> <h5>
<a ng-if="::summary.id" <a
ng-if="::summary.id"
vn-tooltip="Go to the user" vn-tooltip="Go to the user"
ui-sref="account.card.summary({id: {{::summary.id}}})" ui-sref="account.card.summary({id: {{::summary.id}}})"
name="goToSummary"> name="goToSummary">

View File

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

View File

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

View File

@ -119,7 +119,9 @@
</vn-one> </vn-one>
<vn-one name="tax"> <vn-one name="tax">
<h4 ng-show="$ctrl.isBuyer || $ctrl.isAdministrative"> <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> <span translate vn-tooltip="Go to">Tax</span>
</a> </a>
</h4> </h4>

View File

@ -37,7 +37,8 @@
<vn-horizontal class="vn-pa-md"> <vn-horizontal class="vn-pa-md">
<vn-auto> <vn-auto>
<h4> <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> <span translate vn-tooltip="Go to">Warehouse</span>
</a> </a>
</h4> </h4>