Files
openfoodnetwork/app/views/admin/subscriptions/index.html.haml
Ashwini Seshadri edee5c693b Changed new subscription dialog to use tom-select from select2
fixed z-index, text-alignment in the dropdown menu to left in new subscription modal, replaced click_link with page.find().click in subscription specs, removed href in subscription index
2022-09-28 10:47:39 +02:00

27 lines
896 B
Plaintext

- content_for :page_title do
= t('.title')
- content_for :main_ng_app_name do
= "admin.subscriptions"
- content_for :page_actions do
%li{ "data-controller": "help-modal-link", "data-action": "click->help-modal-link#open", "data-help-modal-link-target-value": "new_subscription_help_modal" }
%a.button.icon-plus#new-subscription
= t('.new')
= render :partial => 'spree/admin/shared/order_sub_menu'
= admin_inject_column_preferences module: 'admin.subscriptions'
= render 'data'
= render 'order_update_issues_dialog'
%div.margin-bottom-50{ ng: { controller: 'SubscriptionsController' } }
%save-bar{ dirty: "false", persist: "false" }
= render 'filters'
= render 'controls'
= render 'table'
= render 'loading_flash'
= render 'no_results'
= render HelpModalComponent.new(id: "new_subscription_help_modal", close_button: false) do
= render 'new_subscription_dialog'