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

This commit is contained in:
Jorge Padawan 2021-01-12 11:00:42 +01:00
parent b4899fc0ff
commit 1a4c631c70
2 changed files with 7 additions and 6 deletions

View File

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

View File

@ -1,6 +1,7 @@
<vn-card class="summary"> <vn-card class="summary">
<h5> <h5>
<a ng-if="::$ctrl.summary.id" <a
ng-if="::$ctrl.summary.id"
vn-tooltip="Go to the zone" vn-tooltip="Go to the zone"
ui-sref="zone.card.summary({id: {{::$ctrl.summary.id}}})" ui-sref="zone.card.summary({id: {{::$ctrl.summary.id}}})"
name="goToSummary"> name="goToSummary">
@ -37,8 +38,7 @@
<vn-horizontal class="vn-pa-md"> <vn-horizontal class="vn-pa-md">
<vn-auto> <vn-auto>
<h4> <h4>
<a <a ui-sref="zone.card.warehouses({id:$ctrl.zone.id})">
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>