mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Make all calls to content_for use dash not equals when setting content_for
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
= content_for :page_title do
|
||||
- content_for :page_title do
|
||||
= t 'admin_enterprise_groups'
|
||||
|
||||
- if admin_user?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= content_for :page_title do
|
||||
- content_for :page_title do
|
||||
= t :admin_order_cycles
|
||||
|
||||
- content_for :main_ng_app_name do
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= content_for :sub_menu do
|
||||
- content_for :sub_menu do
|
||||
%ul#sub_nav.inline-menu{"data-hook" => "admin_enterprise_sub_tabs"}
|
||||
= tab :enterprises, url: main_app.admin_enterprises_path
|
||||
= tab :enterprise_relationships, url: main_app.admin_enterprise_relationships_path
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= content_for :sub_menu do
|
||||
- content_for :sub_menu do
|
||||
%ul#sub_nav.inline-menu{"data-hook" => "admin_user_sub_tabs"}
|
||||
= tab :users, url: spree.admin_users_path
|
||||
= tab :roles, url: main_app.admin_enterprise_roles_path, match_path: '/enterprise_roles'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= content_for :sub_menu do
|
||||
- content_for :sub_menu do
|
||||
%ul#sub_nav.inline-menu
|
||||
= tab :products, match_path: '/products'
|
||||
= tab :option_types, match_path: '/option_types'
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
= content_for :page_title do
|
||||
- content_for :page_title do
|
||||
= Spree.t(:editing_product)
|
||||
= "\"#{@product.name}\""
|
||||
|
||||
= content_for :sidebar_title do
|
||||
- content_for :sidebar_title do
|
||||
%span.sku
|
||||
= @product.sku
|
||||
|
||||
= content_for :sidebar do
|
||||
- content_for :sidebar do
|
||||
%nav.menu
|
||||
%ul
|
||||
- if can?(:admin, Spree::Product)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
= content_for :page_title do
|
||||
- content_for :page_title do
|
||||
= Spree.t(:new_user)
|
||||
|
||||
= content_for :page_actions do
|
||||
- content_for :page_actions do
|
||||
%li
|
||||
= button_link_to Spree.t(:back_to_users_list), spree.admin_users_path, icon: 'icon-arrow-left'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user