Skip to content

Commit

Permalink
fixup! Add context to cart actions
Browse files Browse the repository at this point in the history
  • Loading branch information
canac committed Oct 29, 2024
1 parent fc57494 commit 9b1dc4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/cart/cart.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3 id="cart-header" class="panel-name" translate>Your Gift Cart</h3>
<tr class="giftsum-gift-row" ng-repeat="i in $ctrl.cartData.items">
<td class="td-gift">
<img desig-src="{{i.designationNumber}}" class="giftsum-profile pull-left" width="90" height="51">
<span id="cart-{{i.designationNumber}}" class="giftsum-person giftsum-title"><a ng-href="/{{i.designationNumber}}">{{i.displayName}}</a></span>
<span id="cart-{{$index}}" class="giftsum-person giftsum-title"><a ng-href="/{{i.designationNumber}}">{{i.displayName}}</a></span>
<span class="giftsum-accountnum giftsum-detail">#{{i.designationNumber}}</span>
</td>
<td class="td-frequency">
Expand All @@ -57,9 +57,9 @@ <h3 id="cart-header" class="panel-name" translate>Your Gift Cart</h3>
<span class="giftsum-detail"><span class=" visible-xs" translate>Gift Amount</span></span>
</td>
<td class="td-actions giftsum-actions text-sm-right" ng-if="!i.removing">
<a href="" class="btn btn-link btn-giftsum-action" ng-click="$ctrl.editItem(i)" aria-describedby="cart-{{i.designationNumber}}" translate>Edit</a>
<a href="" class="btn btn-link btn-giftsum-action" ng-click="$ctrl.editItem(i)" aria-describedby="cart-{{$index}}" translate>Edit</a>
<span class="sep"> | </span>
<a href="" class="btn btn-link btn-giftsum-action" ng-click="$ctrl.removeItem(i)" aria-describedby="cart-{{i.designationNumber}}" translate>Remove</a>
<a href="" class="btn btn-link btn-giftsum-action" ng-click="$ctrl.removeItem(i)" aria-describedby="cart-{{$index}}" translate>Remove</a>
<div class="text-danger" role="alert" ng-if="i.removingError">
<span translate>Error removing</span>
<span class="hidden-xs hidden-sm" translate>gift</span>
Expand Down

0 comments on commit 9b1dc4e

Please sign in to comment.