Specify alternate html_title

Because the page title has extra content.
This commit is contained in:
David Cook
2024-09-02 10:53:48 +10:00
committed by Filipe
parent c362e8dd0d
commit be4e0a259e
2 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
- content_for :main_ng_app_name do
= "admin.lineItems"
- content_for :html_title do
= t("admin.orders.bulk_management.page_title")
- content_for :page_title do
%h1.page-title
= t("admin.orders.bulk_management.page_title")

View File

@@ -1,5 +1,8 @@
= render partial: 'spree/admin/shared/order_tabs', locals: { current: 'Payments' }
- content_for :html_title do
= Spree.t('refund', scope: :paypal)
- content_for :page_title do
%i.icon-arrow-right
= link_to Spree.t(:payments), admin_order_payments_path(@order)