Skip to content

Commit

Permalink
fixup! Add context to Give a Gift buttons in search results
Browse files Browse the repository at this point in the history
  • Loading branch information
canac committed Oct 29, 2024
1 parent d08bb2e commit 1051dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/searchResults/searchResults.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ <h4 class="is-results-divider" ng-if="facet === 'featured' && $ctrl.featuredGrou
</a>
<div class="is-row-meta">
<a ng-href="{{$ctrl.buildVanity(r.path)}}">
<span id="result-{{r.designationNumber}}" class="is-row-title">{{r.name}}</span>
<span id="result-{{$index}}" class="is-row-title">{{r.name}}</span>
<span class="is-row-num">#{{r.designationNumber}}</span>
</a>
</div>
<div class="is-row-actions hidden-xs">
<product-config product-code="{{r.designationNumber}}" campaign-page="{{r.campaignPage}}" described-by="result-{{r.designationNumber}}" button-label="Give a Gift" button-size="sm"></product-config>
<product-config product-code="{{r.designationNumber}}" campaign-page="{{r.campaignPage}}" described-by="result-{{$index}}" button-label="Give a Gift" button-size="sm"></product-config>
&nbsp;
<a ng-href="{{$ctrl.buildVanity(r.path)}}" class="btn btn-sm btn-subtle" ng-click="$ctrl.productViewDetailsAnalyticsEvent(r)" aria-describedby="result-{{r.designationNumber}}" translate>Details</a>
</div>
Expand Down

0 comments on commit 1051dc6

Please sign in to comment.