Fix for good practique code

This commit is contained in:
Jorge Padawan 2021-01-12 10:15:33 +01:00
parent 509de4fa0a
commit 9ca2e677bd
1 changed files with 11 additions and 9 deletions

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 ticket" vn-tooltip="Go to the ticket"
ui-sref="ticket.card.summary({id: {{::$ctrl.summary.id}}})" ui-sref="ticket.card.summary({id: {{::$ctrl.summary.id}}})"
name="goToSummary"> name="goToSummary">
@ -104,7 +105,8 @@
</vn-one> </vn-one>
<vn-auto name="sales"> <vn-auto name="sales">
<h4> <h4>
<a ui-sref="ticket.card.sale({id:$ctrl.ticket.id})" <a
ui-sref="ticket.card.sale({id:$ctrl.ticket.id})"
target="_self"> target="_self">
<span translate vn-tooltip="Go to">Sale</span> <span translate vn-tooltip="Go to">Sale</span>
</a> </a>