完善 blade hook

This commit is contained in:
Edward Yang 2023-02-08 16:18:46 +08:00
parent b744abfadf
commit c0482e5f1c
2 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,7 @@
</tbody>
</table>
</div>
@hook('carts.products.after')
</div>
</div>
</div>

View File

@ -25,6 +25,9 @@
<a class="list-group-item d-flex justify-content-between align-items-center {{ equal_route('shop.account.rma.index') || equal_route('shop.account.rma.show') ? 'active' : '' }}"
href="{{ shop_route('account.rma.index') }}">
<span>{{ __('shop/account.rma.index') }}</span></a>
@hook('account.sidebar.before.logout')
<a class="list-group-item d-flex justify-content-between align-items-center" href="{{ shop_route('logout') }}">
<span>{{ __('common.sign_out') }}</span></a>
</nav>