Files
openfoodnetwork/app/views/admin/variant_overrides/_controls.html.haml
Maikel Linke ba51641271 Symbolise hash keys in HAML files
This was done by the haml-up script.
2024-02-22 15:01:14 +11:00

16 lines
1.1 KiB
Plaintext

%hr.divider.sixteen.columns.alpha.omega{ "ng-show": 'hub_id && products.length > 0' }
.controls.sixteen.columns.alpha.omega{ "ng-show": 'hub_id && products.length > 0' }
.eight.columns.alpha
= render 'admin/shared/bulk_actions_dropdown'
= render 'admin/shared/views_dropdown'
%span.text-big.with-tip.icon-question-sign{ data: { powertip: "#{t('admin.variant_overrides.index.inventory_powertip')}" }, "ng-show": 'views.inventory.visible' }
%span.text-big.with-tip.icon-question-sign{ data: { powertip: "#{t('admin.variant_overrides.index.hidden_powertip')}" }, "ng-show": 'views.hidden.visible' }
%span.text-big.with-tip.icon-question-sign{ data: { powertip: "#{t('admin.variant_overrides.index.new_powertip')}" }, "ng-show": 'views.new.visible' }
.four.columns  
.four.columns.omega{ "ng-show": 'views.new.visible' }
%button.fullwidth{ type: 'button', "ng-click": "selectView('inventory')" }
%i.icon-chevron-left
= t('.back_to_my_inventory')
.four.columns.omega{ "ng-show": 'views.inventory.visible' }
%columns-dropdown{ action: "#{controller_name}_#{action_name}" }