workarea-admin 3.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +52 -0
- data/README.md +19 -0
- data/Rakefile +23 -0
- data/app/assets/fonts/workarea/admin/spark_dotline_medium.woff +0 -0
- data/app/assets/fonts/workarea/admin/spark_dotline_medium.woff2 +0 -0
- data/app/assets/images/workarea/admin/add.svg +1 -0
- data/app/assets/images/workarea/admin/complete.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/button.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/category_summary.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/custom_block.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/divider.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/hero.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/html.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/image.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/image_and_text.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/image_group.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/product_insights.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/product_list.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/quote.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/recommendations.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/social_networks.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/taxonomy.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/text.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/three_column_taxonomy.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/two_column_taxonomy.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/video.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/video_and_text.svg +1 -0
- data/app/assets/images/workarea/admin/default_card.svg +1 -0
- data/app/assets/images/workarea/admin/favicon.ico +0 -0
- data/app/assets/images/workarea/admin/i18n.svg +1 -0
- data/app/assets/images/workarea/admin/icons/add.svg +1 -0
- data/app/assets/images/workarea/admin/icons/add_circle.svg +1 -0
- data/app/assets/images/workarea/admin/icons/alert.svg +1 -0
- data/app/assets/images/workarea/admin/icons/apple_calendar.svg +1 -0
- data/app/assets/images/workarea/admin/icons/arrow_down.svg +1 -0
- data/app/assets/images/workarea/admin/icons/arrow_up.svg +1 -0
- data/app/assets/images/workarea/admin/icons/asset.svg +1 -0
- data/app/assets/images/workarea/admin/icons/attributes.svg +1 -0
- data/app/assets/images/workarea/admin/icons/calendar.svg +1 -0
- data/app/assets/images/workarea/admin/icons/categories.svg +1 -0
- data/app/assets/images/workarea/admin/icons/category.svg +1 -0
- data/app/assets/images/workarea/admin/icons/clock.svg +1 -0
- data/app/assets/images/workarea/admin/icons/close.svg +1 -0
- data/app/assets/images/workarea/admin/icons/comment.svg +1 -0
- data/app/assets/images/workarea/admin/icons/comments.svg +1 -0
- data/app/assets/images/workarea/admin/icons/comments_viewed.svg +1 -0
- data/app/assets/images/workarea/admin/icons/content.svg +1 -0
- data/app/assets/images/workarea/admin/icons/create_preset.svg +1 -0
- data/app/assets/images/workarea/admin/icons/delete.svg +1 -0
- data/app/assets/images/workarea/admin/icons/edit.svg +1 -0
- data/app/assets/images/workarea/admin/icons/expand_more.svg +1 -0
- data/app/assets/images/workarea/admin/icons/favicon.svg +1 -0
- data/app/assets/images/workarea/admin/icons/featured_products.svg +1 -0
- data/app/assets/images/workarea/admin/icons/fire.svg +1 -0
- data/app/assets/images/workarea/admin/icons/fulfillment.svg +1 -0
- data/app/assets/images/workarea/admin/icons/google_calendar.svg +1 -0
- data/app/assets/images/workarea/admin/icons/grip.svg +1 -0
- data/app/assets/images/workarea/admin/icons/help.svg +1 -0
- data/app/assets/images/workarea/admin/icons/home.svg +1 -0
- data/app/assets/images/workarea/admin/icons/images.svg +1 -0
- data/app/assets/images/workarea/admin/icons/impersonation.svg +1 -0
- data/app/assets/images/workarea/admin/icons/imports.svg +1 -0
- data/app/assets/images/workarea/admin/icons/insights.svg +1 -0
- data/app/assets/images/workarea/admin/icons/inventory_sku.svg +1 -0
- data/app/assets/images/workarea/admin/icons/items.svg +1 -0
- data/app/assets/images/workarea/admin/icons/link.svg +1 -0
- data/app/assets/images/workarea/admin/icons/medium.svg +1 -0
- data/app/assets/images/workarea/admin/icons/menu.svg +1 -0
- data/app/assets/images/workarea/admin/icons/navigate_before.svg +1 -0
- data/app/assets/images/workarea/admin/icons/navigate_next.svg +1 -0
- data/app/assets/images/workarea/admin/icons/navigation_menu.svg +1 -0
- data/app/assets/images/workarea/admin/icons/order.svg +1 -0
- data/app/assets/images/workarea/admin/icons/order_statistics.svg +1 -0
- data/app/assets/images/workarea/admin/icons/orders.svg +1 -0
- data/app/assets/images/workarea/admin/icons/original.svg +1 -0
- data/app/assets/images/workarea/admin/icons/outlook.svg +1 -0
- data/app/assets/images/workarea/admin/icons/page.svg +1 -0
- data/app/assets/images/workarea/admin/icons/pages.svg +1 -0
- data/app/assets/images/workarea/admin/icons/payment.svg +1 -0
- data/app/assets/images/workarea/admin/icons/payment_transaction.svg +1 -0
- data/app/assets/images/workarea/admin/icons/permissions.svg +1 -0
- data/app/assets/images/workarea/admin/icons/plan_changes.svg +1 -0
- data/app/assets/images/workarea/admin/icons/planned_changes.svg +1 -0
- data/app/assets/images/workarea/admin/icons/prices.svg +1 -0
- data/app/assets/images/workarea/admin/icons/pricing.svg +1 -0
- data/app/assets/images/workarea/admin/icons/pricing_discount.svg +1 -0
- data/app/assets/images/workarea/admin/icons/pricing_sku.svg +1 -0
- data/app/assets/images/workarea/admin/icons/products.svg +1 -0
- data/app/assets/images/workarea/admin/icons/rates.svg +1 -0
- data/app/assets/images/workarea/admin/icons/recommendations.svg +1 -0
- data/app/assets/images/workarea/admin/icons/refresh.svg +1 -0
- data/app/assets/images/workarea/admin/icons/release.svg +1 -0
- data/app/assets/images/workarea/admin/icons/release_timeline.svg +1 -0
- data/app/assets/images/workarea/admin/icons/rules.svg +1 -0
- data/app/assets/images/workarea/admin/icons/saved_addresses.svg +1 -0
- data/app/assets/images/workarea/admin/icons/search.svg +1 -0
- data/app/assets/images/workarea/admin/icons/settings.svg +1 -0
- data/app/assets/images/workarea/admin/icons/shipping.svg +1 -0
- data/app/assets/images/workarea/admin/icons/small.svg +1 -0
- data/app/assets/images/workarea/admin/icons/star.svg +1 -0
- data/app/assets/images/workarea/admin/icons/timeline.svg +1 -0
- data/app/assets/images/workarea/admin/icons/tmp.svg +1 -0
- data/app/assets/images/workarea/admin/icons/user.svg +1 -0
- data/app/assets/images/workarea/admin/icons/variants.svg +1 -0
- data/app/assets/images/workarea/admin/icons/view.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wide.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/bold.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/bulleted_list.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/html.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/italic.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/link.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/numbered_list.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/underline.svg +1 -0
- data/app/assets/images/workarea/admin/invalid.svg +1 -0
- data/app/assets/images/workarea/admin/logo.svg +1 -0
- data/app/assets/images/workarea/admin/message_error.svg +1 -0
- data/app/assets/images/workarea/admin/message_info.svg +1 -0
- data/app/assets/images/workarea/admin/message_success.svg +1 -0
- data/app/assets/images/workarea/admin/message_warning.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/american_express.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/diner_s_club.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/discover.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/mastercard.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/visa.svg +1 -0
- data/app/assets/images/workarea/admin/selected.svg +1 -0
- data/app/assets/images/workarea/admin/valid.svg +1 -0
- data/app/assets/javascripts/jquery_ui/admin/categorized_autocomplete.js +53 -0
- data/app/assets/javascripts/jquery_ujs/replace.js +15 -0
- data/app/assets/javascripts/workarea/admin/application.js.erb +235 -0
- data/app/assets/javascripts/workarea/admin/config.js.erb +700 -0
- data/app/assets/javascripts/workarea/admin/google_analytics.js +6 -0
- data/app/assets/javascripts/workarea/admin/modules/add_content_block_buttons.js +71 -0
- data/app/assets/javascripts/workarea/admin/modules/add_to_calendar_buttons.js +45 -0
- data/app/assets/javascripts/workarea/admin/modules/asset_picker_fields.js +51 -0
- data/app/assets/javascripts/workarea/admin/modules/asset_pickers.js +65 -0
- data/app/assets/javascripts/workarea/admin/modules/autocomplete_fields.js +55 -0
- data/app/assets/javascripts/workarea/admin/modules/bookmarks.js +40 -0
- data/app/assets/javascripts/workarea/admin/modules/bulk_action_deletion.js +43 -0
- data/app/assets/javascripts/workarea/admin/modules/bulk_action_items.js +319 -0
- data/app/assets/javascripts/workarea/admin/modules/calendars.js +130 -0
- data/app/assets/javascripts/workarea/admin/modules/categorized_autocomplete_fields.js +58 -0
- data/app/assets/javascripts/workarea/admin/modules/cloneable_rows.js +58 -0
- data/app/assets/javascripts/workarea/admin/modules/content_block_list.js +70 -0
- data/app/assets/javascripts/workarea/admin/modules/content_blocks.js +248 -0
- data/app/assets/javascripts/workarea/admin/modules/content_editor.js +44 -0
- data/app/assets/javascripts/workarea/admin/modules/content_editor_form_cancel.js +29 -0
- data/app/assets/javascripts/workarea/admin/modules/content_editor_forms.js +58 -0
- data/app/assets/javascripts/workarea/admin/modules/content_preset_form.js +29 -0
- data/app/assets/javascripts/workarea/admin/modules/content_preview.js +86 -0
- data/app/assets/javascripts/workarea/admin/modules/dashboard_charts.js +182 -0
- data/app/assets/javascripts/workarea/admin/modules/dashboard_toggles.js +59 -0
- data/app/assets/javascripts/workarea/admin/modules/datepicker_fields.js +113 -0
- data/app/assets/javascripts/workarea/admin/modules/datetimepicker_fields.js +160 -0
- data/app/assets/javascripts/workarea/admin/modules/direct_uploads.js +329 -0
- data/app/assets/javascripts/workarea/admin/modules/disable_publish_now.js +80 -0
- data/app/assets/javascripts/workarea/admin/modules/discount_options_menus.js +115 -0
- data/app/assets/javascripts/workarea/admin/modules/dom_remove.js +30 -0
- data/app/assets/javascripts/workarea/admin/modules/expandables.js +70 -0
- data/app/assets/javascripts/workarea/admin/modules/featured_products_sort.js +28 -0
- data/app/assets/javascripts/workarea/admin/modules/filter_dropdowns.js +88 -0
- data/app/assets/javascripts/workarea/admin/modules/help_helper.js +127 -0
- data/app/assets/javascripts/workarea/admin/modules/help_lookup_buttons.js +66 -0
- data/app/assets/javascripts/workarea/admin/modules/live_search_text.js +49 -0
- data/app/assets/javascripts/workarea/admin/modules/menu_editor_links.js +69 -0
- data/app/assets/javascripts/workarea/admin/modules/menu_editor_menu_list_sortables.js +107 -0
- data/app/assets/javascripts/workarea/admin/modules/menu_editor_sort_by_menus.js +48 -0
- data/app/assets/javascripts/workarea/admin/modules/messages.js +187 -0
- data/app/assets/javascripts/workarea/admin/modules/new_navigation_taxons.js +58 -0
- data/app/assets/javascripts/workarea/admin/modules/pricing_overrides.js +36 -0
- data/app/assets/javascripts/workarea/admin/modules/primary_nav.js +37 -0
- data/app/assets/javascripts/workarea/admin/modules/product_copy_ids.js +47 -0
- data/app/assets/javascripts/workarea/admin/modules/product_images_sortables.js +59 -0
- data/app/assets/javascripts/workarea/admin/modules/product_rules_preview.js +51 -0
- data/app/assets/javascripts/workarea/admin/modules/property_toggles.js +88 -0
- data/app/assets/javascripts/workarea/admin/modules/publish_create_release.js +40 -0
- data/app/assets/javascripts/workarea/admin/modules/publish_with_release_menus.js +132 -0
- data/app/assets/javascripts/workarea/admin/modules/range_fields.js +35 -0
- data/app/assets/javascripts/workarea/admin/modules/recommendations_sortables.js +20 -0
- data/app/assets/javascripts/workarea/admin/modules/releasable_model_search_forms.js +42 -0
- data/app/assets/javascripts/workarea/admin/modules/release_calendar_placeholders.js +83 -0
- data/app/assets/javascripts/workarea/admin/modules/release_reminder.js +93 -0
- data/app/assets/javascripts/workarea/admin/modules/relevance_sort.js +30 -0
- data/app/assets/javascripts/workarea/admin/modules/remote_selects.js +116 -0
- data/app/assets/javascripts/workarea/admin/modules/sort_navigation_menus.js +44 -0
- data/app/assets/javascripts/workarea/admin/modules/sort_variants.js +67 -0
- data/app/assets/javascripts/workarea/admin/modules/tabs.js +66 -0
- data/app/assets/javascripts/workarea/admin/modules/takeover.js +154 -0
- data/app/assets/javascripts/workarea/admin/modules/taxon_insert.js +96 -0
- data/app/assets/javascripts/workarea/admin/modules/taxon_select.js +50 -0
- data/app/assets/javascripts/workarea/admin/modules/toggle_buttons.js +50 -0
- data/app/assets/javascripts/workarea/admin/modules/toggle_filters.js +43 -0
- data/app/assets/javascripts/workarea/admin/modules/tooltips.js +128 -0
- data/app/assets/javascripts/workarea/admin/modules/unsaved_changes.js +56 -0
- data/app/assets/javascripts/workarea/admin/modules/wysiwygs.js +87 -0
- data/app/assets/javascripts/workarea/admin/routes.js.erb +27 -0
- data/app/assets/javascripts/workarea/admin/templates/bookmark_form.jst.ejs +5 -0
- data/app/assets/javascripts/workarea/admin/templates/bulk_action_items_count.jst.ejs +4 -0
- data/app/assets/javascripts/workarea/admin/templates/chart_legend.jst.ejs +9 -0
- data/app/assets/javascripts/workarea/admin/templates/checkbox_with_label.jst.ejs +2 -0
- data/app/assets/javascripts/workarea/admin/templates/content_block_iframe.jst.ejs +2 -0
- data/app/assets/javascripts/workarea/admin/templates/datetime_picker.jst.ejs +37 -0
- data/app/assets/javascripts/workarea/admin/templates/direct_upload_processing.jst.ejs +25 -0
- data/app/assets/javascripts/workarea/admin/templates/direct_upload_table_row.jst.ejs +10 -0
- data/app/assets/javascripts/workarea/admin/templates/expandable_button.jst.ejs +4 -0
- data/app/assets/javascripts/workarea/admin/templates/help_helper.jst.ejs +97 -0
- data/app/assets/javascripts/workarea/admin/templates/help_helper_text.jst.ejs +6 -0
- data/app/assets/javascripts/workarea/admin/templates/inactive_blocks_toggle.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/inline_datepicker.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/loading.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/message.jst.ejs +10 -0
- data/app/assets/javascripts/workarea/admin/templates/message_dismiss_action.jst.ejs +5 -0
- data/app/assets/javascripts/workarea/admin/templates/new_release_option.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/release_select_form.jst.ejs +5 -0
- data/app/assets/javascripts/workarea/admin/templates/remote_select.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby +25 -0
- data/app/assets/javascripts/workarea/admin/templates/remote_select_sparkline.jst.ejs +8 -0
- data/app/assets/javascripts/workarea/admin/templates/tabs_menu.jst.ejs +7 -0
- data/app/assets/javascripts/workarea/admin/templates/takeover.jst.ejs +3 -0
- data/app/assets/javascripts/workarea/admin/templates/ui_menu_heading.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/ui_menu_item.jst.ejs +8 -0
- data/app/assets/javascripts/workarea/admin/templates/wysiwyg_toolbar.jst.ejs.ruby +59 -0
- data/app/assets/stylesheets/dropzonejs/admin/_dropzone.scss +126 -0
- data/app/assets/stylesheets/jquery_select2/admin/theme/_workarea.scss +413 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion.scss +11 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion_content.scss +12 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion_header.scss +37 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_autocomplete.scss +17 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_datepicker.scss +158 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_helper_hidden_accessible.scss +7 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_menu.scss +44 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_sortable.scss +9 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_state_focus.scss +14 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_tabs.scss +71 -0
- data/app/assets/stylesheets/tooltipster/admin/_tooltipster_workarea_admin.scss +88 -0
- data/app/assets/stylesheets/turbolinks/admin/_progress_bar.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/application.scss.erb +150 -0
- data/app/assets/stylesheets/workarea/admin/base/_forms.scss +82 -0
- data/app/assets/stylesheets/workarea/admin/base/_images.scss +29 -0
- data/app/assets/stylesheets/workarea/admin/base/_links.scss +5 -0
- data/app/assets/stylesheets/workarea/admin/base/_lists.scss +8 -0
- data/app/assets/stylesheets/workarea/admin/base/_page.scss +32 -0
- data/app/assets/stylesheets/workarea/admin/base/_tables.scss +54 -0
- data/app/assets/stylesheets/workarea/admin/components/_activity.scss +63 -0
- data/app/assets/stylesheets/workarea/admin/components/_activity_group.scss +27 -0
- data/app/assets/stylesheets/workarea/admin/components/_add_to_calendar.scss +17 -0
- data/app/assets/stylesheets/workarea/admin/components/_admin_toolbar.scss +5 -0
- data/app/assets/stylesheets/workarea/admin/components/_asset_picker_field.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/components/_avatar.scss +38 -0
- data/app/assets/stylesheets/workarea/admin/components/_box.scss +52 -0
- data/app/assets/stylesheets/workarea/admin/components/_browsing_controls.scss +234 -0
- data/app/assets/stylesheets/workarea/admin/components/_bulk_actions.scss +42 -0
- data/app/assets/stylesheets/workarea/admin/components/_button.scss +75 -0
- data/app/assets/stylesheets/workarea/admin/components/_calendar.scss +325 -0
- data/app/assets/stylesheets/workarea/admin/components/_card.scss +193 -0
- data/app/assets/stylesheets/workarea/admin/components/_chart.scss +154 -0
- data/app/assets/stylesheets/workarea/admin/components/_chart_legend.scss +22 -0
- data/app/assets/stylesheets/workarea/admin/components/_chartkick.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/components/_checkbox.scss +74 -0
- data/app/assets/stylesheets/workarea/admin/components/_color_picker.scss +21 -0
- data/app/assets/stylesheets/workarea/admin/components/_comments.scss +76 -0
- data/app/assets/stylesheets/workarea/admin/components/_content_block.scss +136 -0
- data/app/assets/stylesheets/workarea/admin/components/_content_block_list.scss +58 -0
- data/app/assets/stylesheets/workarea/admin/components/_content_editor.scss +161 -0
- data/app/assets/stylesheets/workarea/admin/components/_content_preview.scss +117 -0
- data/app/assets/stylesheets/workarea/admin/components/_dashboard.scss +80 -0
- data/app/assets/stylesheets/workarea/admin/components/_dashboard_graphs.scss +23 -0
- data/app/assets/stylesheets/workarea/admin/components/_data_file_sample.scss +18 -0
- data/app/assets/stylesheets/workarea/admin/components/_data_pairs.scss +46 -0
- data/app/assets/stylesheets/workarea/admin/components/_date_marker.scss +42 -0
- data/app/assets/stylesheets/workarea/admin/components/_direct_upload.scss +105 -0
- data/app/assets/stylesheets/workarea/admin/components/_discount.scss +41 -0
- data/app/assets/stylesheets/workarea/admin/components/_expandable.scss +48 -0
- data/app/assets/stylesheets/workarea/admin/components/_header.scss +184 -0
- data/app/assets/stylesheets/workarea/admin/components/_help_article.scss +17 -0
- data/app/assets/stylesheets/workarea/admin/components/_help_article_summary.scss +57 -0
- data/app/assets/stylesheets/workarea/admin/components/_help_helper.scss +559 -0
- data/app/assets/stylesheets/workarea/admin/components/_index_table.scss +79 -0
- data/app/assets/stylesheets/workarea/admin/components/_insight.scss +93 -0
- data/app/assets/stylesheets/workarea/admin/components/_live_search.scss +120 -0
- data/app/assets/stylesheets/workarea/admin/components/_loading.scss +63 -0
- data/app/assets/stylesheets/workarea/admin/components/_menu.scss +121 -0
- data/app/assets/stylesheets/workarea/admin/components/_menu_editor.scss +400 -0
- data/app/assets/stylesheets/workarea/admin/components/_message.scss +108 -0
- data/app/assets/stylesheets/workarea/admin/components/_navigation_builder.scss +97 -0
- data/app/assets/stylesheets/workarea/admin/components/_new_block_button.scss +64 -0
- data/app/assets/stylesheets/workarea/admin/components/_new_navigation_link.scss +23 -0
- data/app/assets/stylesheets/workarea/admin/components/_page_container.scss +5 -0
- data/app/assets/stylesheets/workarea/admin/components/_page_content.scss +19 -0
- data/app/assets/stylesheets/workarea/admin/components/_page_messages.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/components/_pagination.scss +27 -0
- data/app/assets/stylesheets/workarea/admin/components/_payment_icon.scss +20 -0
- data/app/assets/stylesheets/workarea/admin/components/_pricing_overrides.scss +13 -0
- data/app/assets/stylesheets/workarea/admin/components/_primary_nav.scss +85 -0
- data/app/assets/stylesheets/workarea/admin/components/_product_images.scss +83 -0
- data/app/assets/stylesheets/workarea/admin/components/_product_rules.scss +33 -0
- data/app/assets/stylesheets/workarea/admin/components/_product_rules_preview.scss +29 -0
- data/app/assets/stylesheets/workarea/admin/components/_product_summary.scss +78 -0
- data/app/assets/stylesheets/workarea/admin/components/_property.scss +116 -0
- data/app/assets/stylesheets/workarea/admin/components/_property_toggle.scss +35 -0
- data/app/assets/stylesheets/workarea/admin/components/_range_input.scss +32 -0
- data/app/assets/stylesheets/workarea/admin/components/_release_changeset.scss +87 -0
- data/app/assets/stylesheets/workarea/admin/components/_release_creatable.scss +53 -0
- data/app/assets/stylesheets/workarea/admin/components/_release_select.scss +70 -0
- data/app/assets/stylesheets/workarea/admin/components/_search_form.scss +78 -0
- data/app/assets/stylesheets/workarea/admin/components/_secondary_nav.scss +16 -0
- data/app/assets/stylesheets/workarea/admin/components/_state.scss +35 -0
- data/app/assets/stylesheets/workarea/admin/components/_style_guide.scss +134 -0
- data/app/assets/stylesheets/workarea/admin/components/_summary.scss +199 -0
- data/app/assets/stylesheets/workarea/admin/components/_svg_icon.scss +62 -0
- data/app/assets/stylesheets/workarea/admin/components/_tabs.scss +22 -0
- data/app/assets/stylesheets/workarea/admin/components/_takeover.scss +95 -0
- data/app/assets/stylesheets/workarea/admin/components/_text_box.scss +97 -0
- data/app/assets/stylesheets/workarea/admin/components/_text_button.scss +73 -0
- data/app/assets/stylesheets/workarea/admin/components/_toggle_button.scss +159 -0
- data/app/assets/stylesheets/workarea/admin/components/_top_help_articles.scss +82 -0
- data/app/assets/stylesheets/workarea/admin/components/_view.scss +64 -0
- data/app/assets/stylesheets/workarea/admin/components/_workflow_bar.scss +125 -0
- data/app/assets/stylesheets/workarea/admin/components/_wysiwyg.scss +110 -0
- data/app/assets/stylesheets/workarea/admin/email.scss +4 -0
- data/app/assets/stylesheets/workarea/admin/email/_base.scss +48 -0
- data/app/assets/stylesheets/workarea/admin/email/_components.scss +114 -0
- data/app/assets/stylesheets/workarea/admin/email/_helpers.scss +69 -0
- data/app/assets/stylesheets/workarea/admin/email/_settings.scss +22 -0
- data/app/assets/stylesheets/workarea/admin/generic/_box_sizing.scss +20 -0
- data/app/assets/stylesheets/workarea/admin/generic/_fonts.scss +10 -0
- data/app/assets/stylesheets/workarea/admin/generic/_reset.scss +47 -0
- data/app/assets/stylesheets/workarea/admin/objects/_button_reset.scss +17 -0
- data/app/assets/stylesheets/workarea/admin/objects/_inline_list.scss +26 -0
- data/app/assets/stylesheets/workarea/admin/objects/_list_reset.scss +10 -0
- data/app/assets/stylesheets/workarea/admin/objects/_section.scss +8 -0
- data/app/assets/stylesheets/workarea/admin/objects/_text_field_reset.scss +10 -0
- data/app/assets/stylesheets/workarea/admin/objects/_tooltip_content.scss +25 -0
- data/app/assets/stylesheets/workarea/admin/settings/_breakpoints.scss.erb +8 -0
- data/app/assets/stylesheets/workarea/admin/settings/_colors.scss +32 -0
- data/app/assets/stylesheets/workarea/admin/settings/_global.scss +35 -0
- data/app/assets/stylesheets/workarea/admin/settings/_grid.scss +37 -0
- data/app/assets/stylesheets/workarea/admin/settings/_typography.scss +21 -0
- data/app/assets/stylesheets/workarea/admin/settings/_z_indexes.scss +37 -0
- data/app/assets/stylesheets/workarea/admin/tools/_center.scss +34 -0
- data/app/assets/stylesheets/workarea/admin/tools/_focus_ring.scss +23 -0
- data/app/assets/stylesheets/workarea/admin/tools/_global_box_shadow.scss +32 -0
- data/app/assets/stylesheets/workarea/admin/tools/_respond_to.scss +31 -0
- data/app/assets/stylesheets/workarea/admin/tools/_svg.scss +29 -0
- data/app/assets/stylesheets/workarea/admin/tools/_text_box_image.scss +24 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_break_word.scss +9 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_clearfix.scss +13 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_hidden.scss +71 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_image_replacement.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_truncate.scss +10 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_visible.scss +70 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_visually_hidden.scss +14 -0
- data/app/assets/stylesheets/workarea/admin/typography/_align.scss +15 -0
- data/app/assets/stylesheets/workarea/admin/typography/_headings.scss +87 -0
- data/app/assets/stylesheets/workarea/admin/typography/_links.scss +39 -0
- data/app/assets/stylesheets/workarea/admin/typography/_spark.scss +26 -0
- data/app/assets/stylesheets/workarea/admin/typography/_text.scss +75 -0
- data/app/controllers/workarea/admin/activities_controller.rb +9 -0
- data/app/controllers/workarea/admin/application_controller.rb +109 -0
- data/app/controllers/workarea/admin/bookmarks_controller.rb +17 -0
- data/app/controllers/workarea/admin/bulk_action_deletions_controller.rb +38 -0
- data/app/controllers/workarea/admin/bulk_action_product_edits_controller.rb +55 -0
- data/app/controllers/workarea/admin/bulk_action_sequential_product_edits_controller.rb +126 -0
- data/app/controllers/workarea/admin/bulk_actions_controller.rb +43 -0
- data/app/controllers/workarea/admin/bulk_variant_saving.rb +31 -0
- data/app/controllers/workarea/admin/catalog_categories_controller.rb +62 -0
- data/app/controllers/workarea/admin/catalog_product_copies_controller.rb +31 -0
- data/app/controllers/workarea/admin/catalog_product_images_controller.rb +67 -0
- data/app/controllers/workarea/admin/catalog_products_controller.rb +82 -0
- data/app/controllers/workarea/admin/catalog_variants_controller.rb +93 -0
- data/app/controllers/workarea/admin/categorizations_controller.rb +37 -0
- data/app/controllers/workarea/admin/changesets_controller.rb +28 -0
- data/app/controllers/workarea/admin/comments_controller.rb +104 -0
- data/app/controllers/workarea/admin/content_assets_controller.rb +66 -0
- data/app/controllers/workarea/admin/content_block_drafts_controller.rb +14 -0
- data/app/controllers/workarea/admin/content_blocks_controller.rb +105 -0
- data/app/controllers/workarea/admin/content_controller.rb +54 -0
- data/app/controllers/workarea/admin/content_emails_controller.rb +35 -0
- data/app/controllers/workarea/admin/content_pages_controller.rb +59 -0
- data/app/controllers/workarea/admin/content_presets_controller.rb +40 -0
- data/app/controllers/workarea/admin/create_catalog_categories_controller.rb +135 -0
- data/app/controllers/workarea/admin/create_catalog_products_controller.rb +145 -0
- data/app/controllers/workarea/admin/create_content_pages_controller.rb +91 -0
- data/app/controllers/workarea/admin/create_pricing_discounts_controller.rb +68 -0
- data/app/controllers/workarea/admin/create_releases_controller.rb +51 -0
- data/app/controllers/workarea/admin/create_users_controller.rb +65 -0
- data/app/controllers/workarea/admin/dashboards_controller.rb +51 -0
- data/app/controllers/workarea/admin/data_file_exports_controller.rb +35 -0
- data/app/controllers/workarea/admin/data_file_imports_controller.rb +35 -0
- data/app/controllers/workarea/admin/data_file_tax_imports_controller.rb +38 -0
- data/app/controllers/workarea/admin/data_files_controller.rb +13 -0
- data/app/controllers/workarea/admin/direct_uploads_controller.rb +36 -0
- data/app/controllers/workarea/admin/email_signups_controller.rb +20 -0
- data/app/controllers/workarea/admin/featured_products_controller.rb +78 -0
- data/app/controllers/workarea/admin/fulfillments_controller.rb +15 -0
- data/app/controllers/workarea/admin/guest_browsings_controller.rb +25 -0
- data/app/controllers/workarea/admin/help_assets_controller.rb +27 -0
- data/app/controllers/workarea/admin/help_authorization.rb +17 -0
- data/app/controllers/workarea/admin/help_controller.rb +79 -0
- data/app/controllers/workarea/admin/impersonations_controller.rb +34 -0
- data/app/controllers/workarea/admin/inventory_skus_controller.rb +79 -0
- data/app/controllers/workarea/admin/jump_to_controller.rb +30 -0
- data/app/controllers/workarea/admin/navigation_menus_controller.rb +104 -0
- data/app/controllers/workarea/admin/navigation_redirects_controller.rb +41 -0
- data/app/controllers/workarea/admin/navigation_taxons_controller.rb +104 -0
- data/app/controllers/workarea/admin/orders_controller.rb +28 -0
- data/app/controllers/workarea/admin/payment_transactions_controller.rb +20 -0
- data/app/controllers/workarea/admin/payments_controller.rb +12 -0
- data/app/controllers/workarea/admin/prices_controller.rb +69 -0
- data/app/controllers/workarea/admin/pricing_discount_code_lists_controller.rb +58 -0
- data/app/controllers/workarea/admin/pricing_discounts_controller.rb +56 -0
- data/app/controllers/workarea/admin/pricing_overrides_controller.rb +54 -0
- data/app/controllers/workarea/admin/pricing_skus_controller.rb +87 -0
- data/app/controllers/workarea/admin/product_rules_controller.rb +97 -0
- data/app/controllers/workarea/admin/publishing.rb +45 -0
- data/app/controllers/workarea/admin/recommendations_controller.rb +36 -0
- data/app/controllers/workarea/admin/releasables_controller.rb +16 -0
- data/app/controllers/workarea/admin/release_sessions_controller.rb +25 -0
- data/app/controllers/workarea/admin/releases_controller.rb +110 -0
- data/app/controllers/workarea/admin/reports_controller.rb +115 -0
- data/app/controllers/workarea/admin/search_customizations_controller.rb +84 -0
- data/app/controllers/workarea/admin/search_settings_controller.rb +27 -0
- data/app/controllers/workarea/admin/searches_controller.rb +11 -0
- data/app/controllers/workarea/admin/shipping_services_controller.rb +85 -0
- data/app/controllers/workarea/admin/shippings_controller.rb +24 -0
- data/app/controllers/workarea/admin/style_guides_controller.rb +6 -0
- data/app/controllers/workarea/admin/tax_categories_controller.rb +55 -0
- data/app/controllers/workarea/admin/tax_rates_controller.rb +14 -0
- data/app/controllers/workarea/admin/timeline_controller.rb +10 -0
- data/app/controllers/workarea/admin/toolbar_controller.rb +16 -0
- data/app/controllers/workarea/admin/trash_controller.rb +50 -0
- data/app/controllers/workarea/admin/user_params.rb +16 -0
- data/app/controllers/workarea/admin/users_controller.rb +77 -0
- data/app/controllers/workarea/admin/visiting.rb +51 -0
- data/app/helpers/workarea/admin/activities_helper.rb +70 -0
- data/app/helpers/workarea/admin/application_helper.rb +161 -0
- data/app/helpers/workarea/admin/bookmarks_helper.rb +15 -0
- data/app/helpers/workarea/admin/bulk_actions_helper.rb +9 -0
- data/app/helpers/workarea/admin/changesets_helper.rb +14 -0
- data/app/helpers/workarea/admin/content_block_icon_helper.rb +22 -0
- data/app/helpers/workarea/admin/content_helper.rb +69 -0
- data/app/helpers/workarea/admin/credit_cards_helper.rb +26 -0
- data/app/helpers/workarea/admin/data_files_helper.rb +9 -0
- data/app/helpers/workarea/admin/date_selector_helper.rb +58 -0
- data/app/helpers/workarea/admin/facets_helper.rb +15 -0
- data/app/helpers/workarea/admin/icons_helper.rb +95 -0
- data/app/helpers/workarea/admin/imports_helper.rb +50 -0
- data/app/helpers/workarea/admin/insights_helper.rb +42 -0
- data/app/helpers/workarea/admin/inventory_helper.rb +9 -0
- data/app/helpers/workarea/admin/navigation_helper.rb +70 -0
- data/app/helpers/workarea/admin/navigation_menus_helper.rb +12 -0
- data/app/helpers/workarea/admin/orders_helper.rb +17 -0
- data/app/helpers/workarea/admin/pages_helper.rb +9 -0
- data/app/helpers/workarea/admin/price_adjustments_helper.rb +21 -0
- data/app/helpers/workarea/admin/pricing_overrides_helper.rb +9 -0
- data/app/helpers/workarea/admin/product_rules_helper.rb +50 -0
- data/app/helpers/workarea/admin/products_helper.rb +10 -0
- data/app/helpers/workarea/admin/releases_helper.rb +221 -0
- data/app/helpers/workarea/admin/reports_helper.rb +57 -0
- data/app/helpers/workarea/admin/search_customizations_helper.rb +19 -0
- data/app/helpers/workarea/admin/settings_helper.rb +18 -0
- data/app/helpers/workarea/admin/storefront_helper.rb +13 -0
- data/app/helpers/workarea/admin/taxons_helper.rb +65 -0
- data/app/mailers/workarea/admin/application_mailer.rb +32 -0
- data/app/mailers/workarea/admin/comment_mailer.rb +32 -0
- data/app/mailers/workarea/admin/data_file_mailer.rb +68 -0
- data/app/mailers/workarea/admin/reports_mailer.rb +18 -0
- data/app/mailers/workarea/admin/status_report_mailer.rb +19 -0
- data/app/view_models/workarea/admin/activity_view_model.rb +107 -0
- data/app/view_models/workarea/admin/alerts_view_model.rb +60 -0
- data/app/view_models/workarea/admin/asset_view_model.rb +11 -0
- data/app/view_models/workarea/admin/bulk_action_deletion_view_model.rb +13 -0
- data/app/view_models/workarea/admin/bulk_action_product_edit_view_model.rb +25 -0
- data/app/view_models/workarea/admin/bulk_action_sequential_product_edit_view_model.rb +25 -0
- data/app/view_models/workarea/admin/category_view_model.rb +55 -0
- data/app/view_models/workarea/admin/changes_view_model.rb +52 -0
- data/app/view_models/workarea/admin/changeset_view_model.rb +81 -0
- data/app/view_models/workarea/admin/code_list_view_model.rb +25 -0
- data/app/view_models/workarea/admin/comment_view_model.rb +18 -0
- data/app/view_models/workarea/admin/commentable_view_model.rb +21 -0
- data/app/view_models/workarea/admin/content_view_model.rb +142 -0
- data/app/view_models/workarea/admin/contentable_view_model.rb +9 -0
- data/app/view_models/workarea/admin/dashboards/catalog_view_model.rb +13 -0
- data/app/view_models/workarea/admin/dashboards/index_view_model.rb +28 -0
- data/app/view_models/workarea/admin/dashboards/insights_graphs.rb +97 -0
- data/app/view_models/workarea/admin/dashboards/marketing_view_model.rb +83 -0
- data/app/view_models/workarea/admin/dashboards/orders_view_model.rb +20 -0
- data/app/view_models/workarea/admin/dashboards/people_view_model.rb +39 -0
- data/app/view_models/workarea/admin/dashboards/reports_view_model.rb +105 -0
- data/app/view_models/workarea/admin/dashboards/search_view_model.rb +22 -0
- data/app/view_models/workarea/admin/dashboards/store_view_model.rb +13 -0
- data/app/view_models/workarea/admin/data_file_view_model.rb +28 -0
- data/app/view_models/workarea/admin/data_files_view_model.rb +42 -0
- data/app/view_models/workarea/admin/discount_rules_view_model.rb +99 -0
- data/app/view_models/workarea/admin/discount_search_view_model.rb +17 -0
- data/app/view_models/workarea/admin/discount_view_model.rb +127 -0
- data/app/view_models/workarea/admin/discounts/buy_some_get_some_view_model.rb +35 -0
- data/app/view_models/workarea/admin/discounts/categories.rb +13 -0
- data/app/view_models/workarea/admin/discounts/category_view_model.rb +40 -0
- data/app/view_models/workarea/admin/discounts/free_gift_view_model.rb +35 -0
- data/app/view_models/workarea/admin/discounts/order_total_view_model.rb +32 -0
- data/app/view_models/workarea/admin/discounts/product_attribute_view_model.rb +38 -0
- data/app/view_models/workarea/admin/discounts/product_view_model.rb +40 -0
- data/app/view_models/workarea/admin/discounts/products.rb +13 -0
- data/app/view_models/workarea/admin/discounts/quantity_fixed_price_view_model.rb +35 -0
- data/app/view_models/workarea/admin/discounts/shipping_view_model.rb +36 -0
- data/app/view_models/workarea/admin/featured_products_view_model.rb +20 -0
- data/app/view_models/workarea/admin/fulfillment_item_view_model.rb +13 -0
- data/app/view_models/workarea/admin/fulfillment_view_model.rb +41 -0
- data/app/view_models/workarea/admin/help_search_view_model.rb +17 -0
- data/app/view_models/workarea/admin/insight_view_model.rb +37 -0
- data/app/view_models/workarea/admin/insights/category_view_model.rb +25 -0
- data/app/view_models/workarea/admin/insights/discount_view_model.rb +25 -0
- data/app/view_models/workarea/admin/insights/insights_details.rb +83 -0
- data/app/view_models/workarea/admin/insights/product_view_model.rb +56 -0
- data/app/view_models/workarea/admin/insights/search_view_model.rb +29 -0
- data/app/view_models/workarea/admin/inventory_sku_view_model.rb +21 -0
- data/app/view_models/workarea/admin/order_item_view_model.rb +29 -0
- data/app/view_models/workarea/admin/order_search_view_model.rb +14 -0
- data/app/view_models/workarea/admin/order_timeline_view_model.rb +163 -0
- data/app/view_models/workarea/admin/order_view_model.rb +114 -0
- data/app/view_models/workarea/admin/package_view_model.rb +20 -0
- data/app/view_models/workarea/admin/page_view_model.rb +16 -0
- data/app/view_models/workarea/admin/payment_view_model.rb +21 -0
- data/app/view_models/workarea/admin/pricing_sku_view_model.rb +21 -0
- data/app/view_models/workarea/admin/product_images_view_model.rb +9 -0
- data/app/view_models/workarea/admin/product_rules_preview_view_model.rb +64 -0
- data/app/view_models/workarea/admin/product_view_model.rb +153 -0
- data/app/view_models/workarea/admin/promo_code_view_model.rb +7 -0
- data/app/view_models/workarea/admin/recommendations_view_model.rb +23 -0
- data/app/view_models/workarea/admin/release_calendar_view_model.rb +57 -0
- data/app/view_models/workarea/admin/release_event_view_model.rb +56 -0
- data/app/view_models/workarea/admin/release_search_view_model.rb +13 -0
- data/app/view_models/workarea/admin/release_view_model.rb +44 -0
- data/app/view_models/workarea/admin/releases_feed_view_model.rb +58 -0
- data/app/view_models/workarea/admin/reports/average_order_value_view_model.rb +14 -0
- data/app/view_models/workarea/admin/reports/customers_view_model.rb +18 -0
- data/app/view_models/workarea/admin/reports/first_time_vs_returning_sales_view_model.rb +14 -0
- data/app/view_models/workarea/admin/reports/group_by_time.rb +38 -0
- data/app/view_models/workarea/admin/reports/insights_view_model.rb +32 -0
- data/app/view_models/workarea/admin/reports/low_inventory_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_category_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_country_view_model.rb +14 -0
- data/app/view_models/workarea/admin/reports/sales_by_discount_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_product_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_sku_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_traffic_referrer_view_model.rb +18 -0
- data/app/view_models/workarea/admin/reports/sales_over_time_view_model.rb +14 -0
- data/app/view_models/workarea/admin/reports/searches_view_model.rb +11 -0
- data/app/view_models/workarea/admin/revenue_view_model.rb +45 -0
- data/app/view_models/workarea/admin/search_analysis_view_model.rb +68 -0
- data/app/view_models/workarea/admin/search_customization_product_rules_view_model.rb +25 -0
- data/app/view_models/workarea/admin/search_customization_view_model.rb +17 -0
- data/app/view_models/workarea/admin/search_view_model.rb +91 -0
- data/app/view_models/workarea/admin/shipping_view_model.rb +23 -0
- data/app/view_models/workarea/admin/tax_category_view_model.rb +13 -0
- data/app/view_models/workarea/admin/timeline_view_model.rb +57 -0
- data/app/view_models/workarea/admin/transaction_view_model.rb +39 -0
- data/app/view_models/workarea/admin/user_search_view_model.rb +13 -0
- data/app/view_models/workarea/admin/user_view_model.rb +88 -0
- data/app/view_models/workarea/admin/variant_view_model.rb +48 -0
- data/app/views/layouts/workarea/admin/application.html.haml +181 -0
- data/app/views/layouts/workarea/admin/email.html.haml +185 -0
- data/app/views/layouts/workarea/admin/empty.html.haml +38 -0
- data/app/views/workarea/admin/activities/_bulk_action_order_export_create.haml +8 -0
- data/app/views/workarea/admin/activities/_bulk_action_pricing_discount_code_list_export_create.haml +8 -0
- data/app/views/workarea/admin/activities/_bulk_action_user_export_create.haml +8 -0
- data/app/views/workarea/admin/activities/_catalog_category_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_catalog_category_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_catalog_category_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_catalog_product_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_catalog_product_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_catalog_product_image_create.html.haml +10 -0
- data/app/views/workarea/admin/activities/_catalog_product_image_destroy.html.haml +11 -0
- data/app/views/workarea/admin/activities/_catalog_product_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_catalog_variant_create.html.haml +21 -0
- data/app/views/workarea/admin/activities/_catalog_variant_destroy.html.haml +15 -0
- data/app/views/workarea/admin/activities/_catalog_variant_update.html.haml +22 -0
- data/app/views/workarea/admin/activities/_comment_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_comment_destroy.html.haml +14 -0
- data/app/views/workarea/admin/activities/_comment_update.html.haml +12 -0
- data/app/views/workarea/admin/activities/_content_asset_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_content_asset_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_content_asset_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_content_block_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_content_block_destroy.html.haml +14 -0
- data/app/views/workarea/admin/activities/_content_block_update.html.haml +23 -0
- data/app/views/workarea/admin/activities/_content_email_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_content_page_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_content_page_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_content_page_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_content_update.html.haml +12 -0
- data/app/views/workarea/admin/activities/_help_article_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_help_article_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_help_article_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_help_asset_create.html.haml +8 -0
- data/app/views/workarea/admin/activities/_help_asset_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_import_catalog_create.html.haml +9 -0
- data/app/views/workarea/admin/activities/_import_redirect_create.html.haml +9 -0
- data/app/views/workarea/admin/activities/_import_tax_create.html.haml +9 -0
- data/app/views/workarea/admin/activities/_inventory_sku_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_inventory_sku_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_inventory_sku_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_navigation_menu_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_navigation_menu_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_navigation_menu_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_navigation_redirect_create.html.haml +9 -0
- data/app/views/workarea/admin/activities/_navigation_redirect_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_navigation_taxon_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_navigation_taxon_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_navigation_taxon_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_pricing_discount_code_list_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_pricing_discount_code_list_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_pricing_discount_code_list_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_pricing_discount_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_pricing_discount_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_pricing_discount_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_pricing_sku_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_pricing_sku_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_product_rule_create.html.haml +13 -0
- data/app/views/workarea/admin/activities/_product_rule_destroy.html.haml +13 -0
- data/app/views/workarea/admin/activities/_product_rule_update.html.haml +13 -0
- data/app/views/workarea/admin/activities/_release_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_release_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_release_info.html.haml +6 -0
- data/app/views/workarea/admin/activities/_release_update.html.haml +15 -0
- data/app/views/workarea/admin/activities/_search_customization_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_search_customization_destroy.html.haml +14 -0
- data/app/views/workarea/admin/activities/_search_customization_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_search_settings_update.html.haml +9 -0
- data/app/views/workarea/admin/activities/_shipping_service_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_shipping_service_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_shipping_service_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_tax_category_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_tax_category_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_tax_category_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_tax_rate_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_tax_rate_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_tax_rate_update.html.haml +14 -0
- data/app/views/workarea/admin/activities/_user_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/show.html.haml +43 -0
- data/app/views/workarea/admin/bulk_action_deletions/_form.html.haml +8 -0
- data/app/views/workarea/admin/bulk_action_deletions/edit.html.haml +31 -0
- data/app/views/workarea/admin/bulk_action_product_edits/edit.html.haml +266 -0
- data/app/views/workarea/admin/bulk_action_product_edits/review.html.haml +113 -0
- data/app/views/workarea/admin/bulk_action_sequential_product_edits/product.html.haml +254 -0
- data/app/views/workarea/admin/bulk_action_sequential_product_edits/publishing.html.haml +29 -0
- data/app/views/workarea/admin/bulk_actions/selected.html.haml +16 -0
- data/app/views/workarea/admin/catalog_categories/_aux_navigation.html.haml +2 -0
- data/app/views/workarea/admin/catalog_categories/_cards.html.haml +119 -0
- data/app/views/workarea/admin/catalog_categories/_summary.html.haml +14 -0
- data/app/views/workarea/admin/catalog_categories/edit.html.haml +85 -0
- data/app/views/workarea/admin/catalog_categories/index.html.haml +88 -0
- data/app/views/workarea/admin/catalog_categories/index.json.jbuilder +9 -0
- data/app/views/workarea/admin/catalog_categories/insights.html.haml +71 -0
- data/app/views/workarea/admin/catalog_categories/show.html.haml +23 -0
- data/app/views/workarea/admin/catalog_product_copies/new.html.haml +47 -0
- data/app/views/workarea/admin/catalog_product_images/edit.html.haml +52 -0
- data/app/views/workarea/admin/catalog_product_images/index.html.haml +75 -0
- data/app/views/workarea/admin/catalog_product_images/options.json.jbuilder +4 -0
- data/app/views/workarea/admin/catalog_products/_aux_navigation.html.haml +3 -0
- data/app/views/workarea/admin/catalog_products/_cards.html.haml +265 -0
- data/app/views/workarea/admin/catalog_products/_summary.html.haml +19 -0
- data/app/views/workarea/admin/catalog_products/content.html.haml +40 -0
- data/app/views/workarea/admin/catalog_products/edit.html.haml +170 -0
- data/app/views/workarea/admin/catalog_products/index.html.haml +120 -0
- data/app/views/workarea/admin/catalog_products/index.json.jbuilder +9 -0
- data/app/views/workarea/admin/catalog_products/insights.html.haml +89 -0
- data/app/views/workarea/admin/catalog_products/show.html.haml +24 -0
- data/app/views/workarea/admin/catalog_variants/edit.html.haml +76 -0
- data/app/views/workarea/admin/catalog_variants/index.html.haml +58 -0
- data/app/views/workarea/admin/catalog_variants/index.json.jbuilder +4 -0
- data/app/views/workarea/admin/catalog_variants/new.html.haml +68 -0
- data/app/views/workarea/admin/categorizations/index.html.haml +75 -0
- data/app/views/workarea/admin/categorizations/index.json.jbuilder +9 -0
- data/app/views/workarea/admin/changesets/fields/_category_id.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_category_ids.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_compatible_discount_ids.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_data.html.haml +2 -0
- data/app/views/workarea/admin/changesets/fields/_generic.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_packaged_product_ids.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_product_id.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_product_ids.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_shipping_service_id.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/data/_category.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/data/_generic.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/data/_products.html.haml +4 -0
- data/app/views/workarea/admin/changesets/index.html.haml +42 -0
- data/app/views/workarea/admin/comment_mailer/notify.html.haml +36 -0
- data/app/views/workarea/admin/comments/_card.html.haml +26 -0
- data/app/views/workarea/admin/comments/edit.html.haml +27 -0
- data/app/views/workarea/admin/comments/index.html.haml +64 -0
- data/app/views/workarea/admin/content/_aux_navigation.html.haml +4 -0
- data/app/views/workarea/admin/content/_card.html.haml +24 -0
- data/app/views/workarea/admin/content/_cards.html.haml +9 -0
- data/app/views/workarea/admin/content/_edit.html.haml +75 -0
- data/app/views/workarea/admin/content/_form.html.haml +51 -0
- data/app/views/workarea/admin/content/_summary.html.haml +10 -0
- data/app/views/workarea/admin/content/advanced.html.haml +65 -0
- data/app/views/workarea/admin/content/edit.html.haml +25 -0
- data/app/views/workarea/admin/content/index.html.haml +32 -0
- data/app/views/workarea/admin/content/preview.html.haml +14 -0
- data/app/views/workarea/admin/content/show.html.haml +27 -0
- data/app/views/workarea/admin/content_assets/_cards.html.haml +49 -0
- data/app/views/workarea/admin/content_assets/_summary.html.haml +9 -0
- data/app/views/workarea/admin/content_assets/edit.html.haml +56 -0
- data/app/views/workarea/admin/content_assets/index.html.haml +95 -0
- data/app/views/workarea/admin/content_assets/insert.html.haml +46 -0
- data/app/views/workarea/admin/content_assets/new.html.haml +36 -0
- data/app/views/workarea/admin/content_assets/show.html.haml +21 -0
- data/app/views/workarea/admin/content_blocks/_asset.html.haml +24 -0
- data/app/views/workarea/admin/content_blocks/_boolean.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_breakpoints.html.haml +17 -0
- data/app/views/workarea/admin/content_blocks/_category.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_color.html.haml +19 -0
- data/app/views/workarea/admin/content_blocks/_integer.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_options.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_products.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_range.html.haml +16 -0
- data/app/views/workarea/admin/content_blocks/_string.html.haml +17 -0
- data/app/views/workarea/admin/content_blocks/_taxonomy.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_text.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_url.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/index.html.haml +31 -0
- data/app/views/workarea/admin/content_emails/edit.html.haml +22 -0
- data/app/views/workarea/admin/content_emails/index.html.haml +26 -0
- data/app/views/workarea/admin/content_pages/_aux_navigation.html.haml +2 -0
- data/app/views/workarea/admin/content_pages/_cards.html.haml +40 -0
- data/app/views/workarea/admin/content_pages/_summary.html.haml +14 -0
- data/app/views/workarea/admin/content_pages/edit.html.haml +76 -0
- data/app/views/workarea/admin/content_pages/index.html.haml +81 -0
- data/app/views/workarea/admin/content_pages/index.json.jbuilder +7 -0
- data/app/views/workarea/admin/content_pages/show.html.haml +23 -0
- data/app/views/workarea/admin/content_presets/new.html.haml +7 -0
- data/app/views/workarea/admin/create_catalog_categories/content.html.haml +31 -0
- data/app/views/workarea/admin/create_catalog_categories/featured_products.html.haml +75 -0
- data/app/views/workarea/admin/create_catalog_categories/navigation.html.haml +46 -0
- data/app/views/workarea/admin/create_catalog_categories/products.html.haml +64 -0
- data/app/views/workarea/admin/create_catalog_categories/publish.html.haml +36 -0
- data/app/views/workarea/admin/create_catalog_categories/rules.html.haml +68 -0
- data/app/views/workarea/admin/create_catalog_categories/setup.html.haml +51 -0
- data/app/views/workarea/admin/create_catalog_categories/taxonomy.html.haml +35 -0
- data/app/views/workarea/admin/create_catalog_products/categorization.html.haml +68 -0
- data/app/views/workarea/admin/create_catalog_products/content.html.haml +58 -0
- data/app/views/workarea/admin/create_catalog_products/details.html.haml +90 -0
- data/app/views/workarea/admin/create_catalog_products/images.html.haml +60 -0
- data/app/views/workarea/admin/create_catalog_products/publish.html.haml +45 -0
- data/app/views/workarea/admin/create_catalog_products/setup.html.haml +66 -0
- data/app/views/workarea/admin/create_catalog_products/variants.html.haml +93 -0
- data/app/views/workarea/admin/create_content_pages/content.html.haml +30 -0
- data/app/views/workarea/admin/create_content_pages/navigation.html.haml +45 -0
- data/app/views/workarea/admin/create_content_pages/publish.html.haml +35 -0
- data/app/views/workarea/admin/create_content_pages/setup.html.haml +53 -0
- data/app/views/workarea/admin/create_content_pages/taxonomy.html.haml +35 -0
- data/app/views/workarea/admin/create_pricing_discounts/details.html.haml +47 -0
- data/app/views/workarea/admin/create_pricing_discounts/publish.html.haml +31 -0
- data/app/views/workarea/admin/create_pricing_discounts/rules.html.haml +85 -0
- data/app/views/workarea/admin/create_pricing_discounts/setup.html.haml +100 -0
- data/app/views/workarea/admin/create_releases/plan.html.haml +83 -0
- data/app/views/workarea/admin/create_releases/setup.html.haml +58 -0
- data/app/views/workarea/admin/create_users/admin.html.haml +157 -0
- data/app/views/workarea/admin/create_users/customer.html.haml +76 -0
- data/app/views/workarea/admin/create_users/index.html.haml +38 -0
- data/app/views/workarea/admin/dashboards/catalog.html.haml +19 -0
- data/app/views/workarea/admin/dashboards/index.html.haml +177 -0
- data/app/views/workarea/admin/dashboards/marketing.html.haml +64 -0
- data/app/views/workarea/admin/dashboards/orders.html.haml +87 -0
- data/app/views/workarea/admin/dashboards/people.html.haml +70 -0
- data/app/views/workarea/admin/dashboards/reports.html.haml +220 -0
- data/app/views/workarea/admin/dashboards/search.html.haml +48 -0
- data/app/views/workarea/admin/dashboards/settings.html.haml +29 -0
- data/app/views/workarea/admin/dashboards/store.html.haml +21 -0
- data/app/views/workarea/admin/data_file_exports/new.html.haml +47 -0
- data/app/views/workarea/admin/data_file_imports/_csv_notes.html.haml +1 -0
- data/app/views/workarea/admin/data_file_imports/new.html.haml +47 -0
- data/app/views/workarea/admin/data_file_mailer/export.html.haml +3 -0
- data/app/views/workarea/admin/data_file_mailer/import.html.haml +11 -0
- data/app/views/workarea/admin/data_file_mailer/import_error.html.haml +13 -0
- data/app/views/workarea/admin/data_file_mailer/import_failure.html.haml +22 -0
- data/app/views/workarea/admin/data_file_tax_imports/new.html.haml +59 -0
- data/app/views/workarea/admin/data_files/errors.html.haml +38 -0
- data/app/views/workarea/admin/data_files/index.html.haml +68 -0
- data/app/views/workarea/admin/direct_uploads/product_images.html.haml +19 -0
- data/app/views/workarea/admin/email_signups/_summary.html.haml +6 -0
- data/app/views/workarea/admin/email_signups/index.html.haml +47 -0
- data/app/views/workarea/admin/facets/_applied.html.haml +17 -0
- data/app/views/workarea/admin/facets/_price_inputs.html.haml +23 -0
- data/app/views/workarea/admin/facets/_terms.html.haml +17 -0
- data/app/views/workarea/admin/featured_products/_release_preview_warning.html.haml +4 -0
- data/app/views/workarea/admin/featured_products/_selected.html.haml +10 -0
- data/app/views/workarea/admin/featured_products/_unselected.html.haml +8 -0
- data/app/views/workarea/admin/featured_products/edit.html.haml +46 -0
- data/app/views/workarea/admin/featured_products/select.html.haml +72 -0
- data/app/views/workarea/admin/fulfillments/show.html.haml +100 -0
- data/app/views/workarea/admin/help/edit.html.haml +53 -0
- data/app/views/workarea/admin/help/index.html.haml +78 -0
- data/app/views/workarea/admin/help/new.html.haml +53 -0
- data/app/views/workarea/admin/help/show.html.haml +23 -0
- data/app/views/workarea/admin/help/takeover.html.haml +35 -0
- data/app/views/workarea/admin/help_assets/index.html.haml +36 -0
- data/app/views/workarea/admin/insights/_best_customers.html.haml +20 -0
- data/app/views/workarea/admin/insights/_best_full_price_customers.html.haml +20 -0
- data/app/views/workarea/admin/insights/_cold_products.html.haml +29 -0
- data/app/views/workarea/admin/insights/_cold_searches.html.haml +25 -0
- data/app/views/workarea/admin/insights/_customer_acquisition.html.haml +11 -0
- data/app/views/workarea/admin/insights/_customers_at_risk.html.haml +20 -0
- data/app/views/workarea/admin/insights/_hot_products.html.haml +29 -0
- data/app/views/workarea/admin/insights/_hot_searches.html.haml +27 -0
- data/app/views/workarea/admin/insights/_low_aov_customers.html.haml +20 -0
- data/app/views/workarea/admin/insights/_most_discount_given.html.haml +24 -0
- data/app/views/workarea/admin/insights/_most_discounted_products.html.haml +32 -0
- data/app/views/workarea/admin/insights/_new_products.html.haml +20 -0
- data/app/views/workarea/admin/insights/_non_sellers.html.haml +23 -0
- data/app/views/workarea/admin/insights/_popular_searches.html.haml +21 -0
- data/app/views/workarea/admin/insights/_popular_searches_without_results.html.haml +19 -0
- data/app/views/workarea/admin/insights/_products_purchased_together.html.haml +26 -0
- data/app/views/workarea/admin/insights/_products_to_improve.html.haml +26 -0
- data/app/views/workarea/admin/insights/_promising_products.html.haml +26 -0
- data/app/views/workarea/admin/insights/_release_reminder.html.haml +36 -0
- data/app/views/workarea/admin/insights/_repeat_purchase_rate.html.haml +20 -0
- data/app/views/workarea/admin/insights/_sales_by_navigation.html.haml +22 -0
- data/app/views/workarea/admin/insights/_searches_to_improve.html.haml +25 -0
- data/app/views/workarea/admin/insights/_star_products.html.haml +26 -0
- data/app/views/workarea/admin/insights/_star_searches.html.haml +21 -0
- data/app/views/workarea/admin/insights/_top_categories.html.haml +22 -0
- data/app/views/workarea/admin/insights/_top_discounts.html.haml +24 -0
- data/app/views/workarea/admin/insights/_top_products.html.haml +25 -0
- data/app/views/workarea/admin/insights/_trending_products.html.haml +24 -0
- data/app/views/workarea/admin/insights/_trending_searches.html.haml +21 -0
- data/app/views/workarea/admin/insights/_upcoming_releases.html.haml +36 -0
- data/app/views/workarea/admin/inventory_skus/_aux_navigation.html.haml +4 -0
- data/app/views/workarea/admin/inventory_skus/_cards.html.haml +42 -0
- data/app/views/workarea/admin/inventory_skus/_summary.html.haml +6 -0
- data/app/views/workarea/admin/inventory_skus/edit.html.haml +71 -0
- data/app/views/workarea/admin/inventory_skus/index.html.haml +81 -0
- data/app/views/workarea/admin/inventory_skus/new.html.haml +52 -0
- data/app/views/workarea/admin/inventory_skus/show.html.haml +17 -0
- data/app/views/workarea/admin/navigation_menus/_summary.html.haml +10 -0
- data/app/views/workarea/admin/navigation_menus/edit.html.haml +42 -0
- data/app/views/workarea/admin/navigation_menus/index.html.haml +57 -0
- data/app/views/workarea/admin/navigation_menus/new.html.haml +44 -0
- data/app/views/workarea/admin/navigation_redirects/_summary.html.haml +7 -0
- data/app/views/workarea/admin/navigation_redirects/index.html.haml +72 -0
- data/app/views/workarea/admin/navigation_taxons/_insert.html.haml +53 -0
- data/app/views/workarea/admin/navigation_taxons/_select.html.haml +21 -0
- data/app/views/workarea/admin/navigation_taxons/_taxon.html.haml +34 -0
- data/app/views/workarea/admin/navigation_taxons/children.html.haml +19 -0
- data/app/views/workarea/admin/navigation_taxons/edit.html.haml +52 -0
- data/app/views/workarea/admin/navigation_taxons/index.html.haml +38 -0
- data/app/views/workarea/admin/navigation_taxons/new.html.haml +43 -0
- data/app/views/workarea/admin/orders/_aux_navigation.html.haml +4 -0
- data/app/views/workarea/admin/orders/_cards.html.haml +181 -0
- data/app/views/workarea/admin/orders/_summary.html.haml +11 -0
- data/app/views/workarea/admin/orders/attributes.html.haml +123 -0
- data/app/views/workarea/admin/orders/index.html.haml +128 -0
- data/app/views/workarea/admin/orders/show.html.haml +24 -0
- data/app/views/workarea/admin/orders/tenders/_credit_card.html.haml +4 -0
- data/app/views/workarea/admin/orders/tenders/_missing.html.haml +1 -0
- data/app/views/workarea/admin/orders/tenders/_store_credit.html.haml +4 -0
- data/app/views/workarea/admin/orders/timeline.html.haml +33 -0
- data/app/views/workarea/admin/orders/timeline/_authorize.html.haml +12 -0
- data/app/views/workarea/admin/orders/timeline/_canceled.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_canceled_fulfillment.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_capture.html.haml +12 -0
- data/app/views/workarea/admin/orders/timeline/_comment.html.haml +9 -0
- data/app/views/workarea/admin/orders/timeline/_copied.html.haml +9 -0
- data/app/views/workarea/admin/orders/timeline/_created.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_placed.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_price_overridden.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_refund.html.haml +12 -0
- data/app/views/workarea/admin/orders/timeline/_shipped.html.haml +8 -0
- data/app/views/workarea/admin/payment_transactions/_aux_navigation.html.haml +2 -0
- data/app/views/workarea/admin/payment_transactions/_summary.html.haml +6 -0
- data/app/views/workarea/admin/payment_transactions/index.html.haml +78 -0
- data/app/views/workarea/admin/payment_transactions/show.html.haml +80 -0
- data/app/views/workarea/admin/payments/show.html.haml +72 -0
- data/app/views/workarea/admin/prices/edit.html.haml +70 -0
- data/app/views/workarea/admin/prices/index.html.haml +51 -0
- data/app/views/workarea/admin/prices/new.html.haml +65 -0
- data/app/views/workarea/admin/pricing/show.html.haml +99 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/_cards.html.haml +67 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/_summary.html.haml +6 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/edit.html.haml +34 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/index.html.haml +53 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/new.html.haml +40 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/promo_codes.html.haml +50 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/show.html.haml +31 -0
- data/app/views/workarea/admin/pricing_discounts/_aux_navigation.html.haml +3 -0
- data/app/views/workarea/admin/pricing_discounts/_cards.html.haml +122 -0
- data/app/views/workarea/admin/pricing_discounts/_summary.html.haml +10 -0
- data/app/views/workarea/admin/pricing_discounts/conditions/_item_quantity.html.haml +8 -0
- data/app/views/workarea/admin/pricing_discounts/conditions/_order_total.html.haml +10 -0
- data/app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml +17 -0
- data/app/views/workarea/admin/pricing_discounts/conditions/_user_tags.html.haml +13 -0
- data/app/views/workarea/admin/pricing_discounts/edit.html.haml +57 -0
- data/app/views/workarea/admin/pricing_discounts/index.html.haml +85 -0
- data/app/views/workarea/admin/pricing_discounts/index.json.jbuilder +8 -0
- data/app/views/workarea/admin/pricing_discounts/insights.html.haml +60 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_buy_some_get_some.html.haml +39 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_category.html.haml +22 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_free_gift.html.haml +28 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_order_total.html.haml +21 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_product.html.haml +23 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_product_attribute.html.haml +32 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_quantity_fixed_price.html.haml +36 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml +21 -0
- data/app/views/workarea/admin/pricing_discounts/rules.html.haml +64 -0
- data/app/views/workarea/admin/pricing_discounts/show.html.haml +39 -0
- data/app/views/workarea/admin/pricing_overrides/edit.html.haml +115 -0
- data/app/views/workarea/admin/pricing_skus/_aux_navigation.html.haml +4 -0
- data/app/views/workarea/admin/pricing_skus/_cards.html.haml +67 -0
- data/app/views/workarea/admin/pricing_skus/_summary.html.haml +10 -0
- data/app/views/workarea/admin/pricing_skus/edit.html.haml +65 -0
- data/app/views/workarea/admin/pricing_skus/index.html.haml +81 -0
- data/app/views/workarea/admin/pricing_skus/new.html.haml +78 -0
- data/app/views/workarea/admin/pricing_skus/show.html.haml +16 -0
- data/app/views/workarea/admin/product_rules/_card.html.haml +23 -0
- data/app/views/workarea/admin/product_rules/_form.html.haml +12 -0
- data/app/views/workarea/admin/product_rules/_preview.html.haml +28 -0
- data/app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml +7 -0
- data/app/views/workarea/admin/product_rules/fields/_category.html.haml +5 -0
- data/app/views/workarea/admin/product_rules/fields/_created_at.html.haml +4 -0
- data/app/views/workarea/admin/product_rules/fields/_excluded_products.html.haml +5 -0
- data/app/views/workarea/admin/product_rules/fields/_generic.html.haml +8 -0
- data/app/views/workarea/admin/product_rules/fields/_on_sale.html.haml +7 -0
- data/app/views/workarea/admin/product_rules/fields/_price.html.haml +5 -0
- data/app/views/workarea/admin/product_rules/fields/_search.html.haml +31 -0
- data/app/views/workarea/admin/product_rules/index.html.haml +61 -0
- data/app/views/workarea/admin/product_rules/preview.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_available_inventory.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_category.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_created_at.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_excluded_products.html.haml +4 -0
- data/app/views/workarea/admin/product_rules/summaries/_generic.html.haml +3 -0
- data/app/views/workarea/admin/product_rules/summaries/_on_sale.html.haml +5 -0
- data/app/views/workarea/admin/product_rules/summaries/_price.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_search.html.haml +1 -0
- data/app/views/workarea/admin/recommendations/edit.html.haml +42 -0
- data/app/views/workarea/admin/releasables/index.html.haml +72 -0
- data/app/views/workarea/admin/releases/_cards.html.haml +103 -0
- data/app/views/workarea/admin/releases/_publish.html.haml +31 -0
- data/app/views/workarea/admin/releases/_select.html.haml +13 -0
- data/app/views/workarea/admin/releases/_summary.html.haml +6 -0
- data/app/views/workarea/admin/releases/calendar.html.haml +54 -0
- data/app/views/workarea/admin/releases/edit.html.haml +83 -0
- data/app/views/workarea/admin/releases/index.html.haml +100 -0
- data/app/views/workarea/admin/releases/new.html.haml +6 -0
- data/app/views/workarea/admin/releases/show.html.haml +65 -0
- data/app/views/workarea/admin/reports/_export.html.haml +12 -0
- data/app/views/workarea/admin/reports/_group_by_time.html.haml +6 -0
- data/app/views/workarea/admin/reports/average_order_value.html.haml +39 -0
- data/app/views/workarea/admin/reports/customers.html.haml +49 -0
- data/app/views/workarea/admin/reports/first_time_vs_returning_sales.html.haml +41 -0
- data/app/views/workarea/admin/reports/insights.html.haml +16 -0
- data/app/views/workarea/admin/reports/low_inventory.html.haml +35 -0
- data/app/views/workarea/admin/reports/reference.html.haml +88 -0
- data/app/views/workarea/admin/reports/sales_by_category.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_by_country.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_by_discount.html.haml +38 -0
- data/app/views/workarea/admin/reports/sales_by_product.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_by_sku.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_by_traffic_referrer.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_over_time.html.haml +49 -0
- data/app/views/workarea/admin/reports/searches.html.haml +45 -0
- data/app/views/workarea/admin/reports_mailer/export.html.haml +3 -0
- data/app/views/workarea/admin/search_customizations/_aux_navigation.html.haml +2 -0
- data/app/views/workarea/admin/search_customizations/_cards.html.haml +130 -0
- data/app/views/workarea/admin/search_customizations/analyze.html.haml +119 -0
- data/app/views/workarea/admin/search_customizations/edit.html.haml +74 -0
- data/app/views/workarea/admin/search_customizations/index.html.haml +78 -0
- data/app/views/workarea/admin/search_customizations/index.json.jbuilder +4 -0
- data/app/views/workarea/admin/search_customizations/insights.html.haml +71 -0
- data/app/views/workarea/admin/search_customizations/show.html.haml +19 -0
- data/app/views/workarea/admin/search_settings/show.html.haml +55 -0
- data/app/views/workarea/admin/searches/show.html.haml +54 -0
- data/app/views/workarea/admin/shared/_activate_select.html.haml +6 -0
- data/app/views/workarea/admin/shared/_bulk_actions.html.haml +18 -0
- data/app/views/workarea/admin/shared/_creation_date.html.haml +21 -0
- data/app/views/workarea/admin/shared/_csv_formatting_tooltip.html.haml +9 -0
- data/app/views/workarea/admin/shared/_date_selector.html.haml +22 -0
- data/app/views/workarea/admin/shared/_message.html.haml +4 -0
- data/app/views/workarea/admin/shared/_pagination.html.haml +38 -0
- data/app/views/workarea/admin/shared/_primary_nav.html.haml +113 -0
- data/app/views/workarea/admin/shared/_publishing_select.html.haml +6 -0
- data/app/views/workarea/admin/shared/_release_slug_tooltip.html.haml +7 -0
- data/app/views/workarea/admin/shared/_summary.html.haml +9 -0
- data/app/views/workarea/admin/shared/_toggle_button.html.haml +7 -0
- data/app/views/workarea/admin/shared/values.json.jbuilder +4 -0
- data/app/views/workarea/admin/shipping_services/edit.html.haml +69 -0
- data/app/views/workarea/admin/shipping_services/index.html.haml +61 -0
- data/app/views/workarea/admin/shipping_services/new.html.haml +57 -0
- data/app/views/workarea/admin/shippings/index.html.haml +92 -0
- data/app/views/workarea/admin/status_report_mailer/report.html.haml +94 -0
- data/app/views/workarea/admin/style_guides/_navigation.html.haml +10 -0
- data/app/views/workarea/admin/style_guides/base/_forms.html.haml +77 -0
- data/app/views/workarea/admin/style_guides/base/_tables.html.haml +72 -0
- data/app/views/workarea/admin/style_guides/components/_activity.html.haml +25 -0
- data/app/views/workarea/admin/style_guides/components/_activity_group.html.haml +80 -0
- data/app/views/workarea/admin/style_guides/components/_asset_picker_field.html.haml +12 -0
- data/app/views/workarea/admin/style_guides/components/_avatar.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/components/_box.html.haml +59 -0
- data/app/views/workarea/admin/style_guides/components/_button.html.haml +53 -0
- data/app/views/workarea/admin/style_guides/components/_card.html.haml +157 -0
- data/app/views/workarea/admin/style_guides/components/_checkbox.html.haml +21 -0
- data/app/views/workarea/admin/style_guides/components/_color_picker_field.html.haml +36 -0
- data/app/views/workarea/admin/style_guides/components/_data_file_sample.html.haml +28 -0
- data/app/views/workarea/admin/style_guides/components/_data_pairs.html.haml +28 -0
- data/app/views/workarea/admin/style_guides/components/_date_marker.html.haml +18 -0
- data/app/views/workarea/admin/style_guides/components/_direct_upload.html.haml +96 -0
- data/app/views/workarea/admin/style_guides/components/_expandable.html.haml +25 -0
- data/app/views/workarea/admin/style_guides/components/_index_table.html.haml +51 -0
- data/app/views/workarea/admin/style_guides/components/_insight.html.haml +100 -0
- data/app/views/workarea/admin/style_guides/components/_loading.html.haml +85 -0
- data/app/views/workarea/admin/style_guides/components/_menu.html.haml +112 -0
- data/app/views/workarea/admin/style_guides/components/_message.html.haml +45 -0
- data/app/views/workarea/admin/style_guides/components/_pagination.html.haml +156 -0
- data/app/views/workarea/admin/style_guides/components/_product_summary.html.haml +28 -0
- data/app/views/workarea/admin/style_guides/components/_property.html.haml +147 -0
- data/app/views/workarea/admin/style_guides/components/_property_toggle.html.haml +48 -0
- data/app/views/workarea/admin/style_guides/components/_release_changeset.html.haml +55 -0
- data/app/views/workarea/admin/style_guides/components/_search_form.html.haml +28 -0
- data/app/views/workarea/admin/style_guides/components/_state.html.haml +35 -0
- data/app/views/workarea/admin/style_guides/components/_summary.html.haml +66 -0
- data/app/views/workarea/admin/style_guides/components/_svg_icon.html.haml +51 -0
- data/app/views/workarea/admin/style_guides/components/_tabs.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/components/_text_box.html.haml +147 -0
- data/app/views/workarea/admin/style_guides/components/_text_button.html.haml +58 -0
- data/app/views/workarea/admin/style_guides/components/_toggle_button.html.haml +59 -0
- data/app/views/workarea/admin/style_guides/components/_ui_accordion.html.haml +21 -0
- data/app/views/workarea/admin/style_guides/components/_ui_autocomplete.html.haml +10 -0
- data/app/views/workarea/admin/style_guides/components/_ui_datepicker.html.haml +22 -0
- data/app/views/workarea/admin/style_guides/components/_ui_helper_hidden_accessible.html.haml +5 -0
- data/app/views/workarea/admin/style_guides/components/_view.html.haml +45 -0
- data/app/views/workarea/admin/style_guides/components/_workflow_bar.html.haml +118 -0
- data/app/views/workarea/admin/style_guides/components/_wysiwyg.html.haml +10 -0
- data/app/views/workarea/admin/style_guides/index.html.haml +87 -0
- data/app/views/workarea/admin/style_guides/objects/_button.html.haml +9 -0
- data/app/views/workarea/admin/style_guides/objects/_button_reset.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/objects/_inline_list.html.haml +41 -0
- data/app/views/workarea/admin/style_guides/objects/_list_reset.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/objects/_section.html.haml +13 -0
- data/app/views/workarea/admin/style_guides/objects/_text_field_reset.html.haml +11 -0
- data/app/views/workarea/admin/style_guides/objects/_tooltip_content.html.haml +31 -0
- data/app/views/workarea/admin/style_guides/settings/_color_variables.html.haml +21 -0
- data/app/views/workarea/admin/style_guides/show.html.haml +10 -0
- data/app/views/workarea/admin/style_guides/trumps/_break_word.html.haml +15 -0
- data/app/views/workarea/admin/style_guides/trumps/_clearfix.html.haml +21 -0
- data/app/views/workarea/admin/style_guides/trumps/_hidden.html.haml +97 -0
- data/app/views/workarea/admin/style_guides/trumps/_image_replacement.html.haml +13 -0
- data/app/views/workarea/admin/style_guides/trumps/_truncate.html.haml +13 -0
- data/app/views/workarea/admin/style_guides/trumps/_visible.html.haml +97 -0
- data/app/views/workarea/admin/style_guides/trumps/_visually_hidden.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/typography/_align.html.haml +25 -0
- data/app/views/workarea/admin/style_guides/typography/_fonts.html.haml +25 -0
- data/app/views/workarea/admin/style_guides/typography/_headings.html.haml +34 -0
- data/app/views/workarea/admin/style_guides/typography/_links.html.haml +47 -0
- data/app/views/workarea/admin/style_guides/typography/_spark.html.haml +32 -0
- data/app/views/workarea/admin/style_guides/typography/_text.html.haml +50 -0
- data/app/views/workarea/admin/tax_categories/_cards.html.haml +57 -0
- data/app/views/workarea/admin/tax_categories/edit.html.haml +44 -0
- data/app/views/workarea/admin/tax_categories/index.html.haml +48 -0
- data/app/views/workarea/admin/tax_categories/new.html.haml +39 -0
- data/app/views/workarea/admin/tax_categories/show.html.haml +19 -0
- data/app/views/workarea/admin/tax_rates/index.html.haml +52 -0
- data/app/views/workarea/admin/timeline/_card.html.haml +16 -0
- data/app/views/workarea/admin/timeline/show.html.haml +78 -0
- data/app/views/workarea/admin/toolbar/show.html.haml +79 -0
- data/app/views/workarea/admin/trash/index.html.haml +21 -0
- data/app/views/workarea/admin/users/_cards.html.haml +199 -0
- data/app/views/workarea/admin/users/_summary.html.haml +15 -0
- data/app/views/workarea/admin/users/addresses.html.haml +22 -0
- data/app/views/workarea/admin/users/edit.html.haml +88 -0
- data/app/views/workarea/admin/users/index.html.haml +94 -0
- data/app/views/workarea/admin/users/index.json.jbuilder +4 -0
- data/app/views/workarea/admin/users/insights.html.haml +128 -0
- data/app/views/workarea/admin/users/orders.html.haml +52 -0
- data/app/views/workarea/admin/users/permissions.html.haml +132 -0
- data/app/views/workarea/admin/users/show.html.haml +38 -0
- data/bin/rails +18 -0
- data/config/locales/en.yml +3609 -0
- data/config/routes.rb +372 -0
- data/lib/workarea/admin.rb +7 -0
- data/lib/workarea/admin/engine.rb +8 -0
- data/lib/workarea/mailer_previews/admin/comment_mailer_preview.rb +12 -0
- data/lib/workarea/mailer_previews/admin/data_file_mailer_preview.rb +21 -0
- data/lib/workarea/mailer_previews/admin/status_report_mailer_preview.rb +9 -0
- data/public/workarea/import_samples/tax_rates.csv +3 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +5 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +22 -0
- data/test/dummy/config/boot.rb +3 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +54 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +43 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/new_framework_defaults.rb +17 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/workarea.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/de.yml +2 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +10 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +1 -0
- data/test/dummy/script/rails +6 -0
- data/test/helpers/workarea/admin/application_helper_test.rb +83 -0
- data/test/helpers/workarea/admin/icons_helper_test.rb +62 -0
- data/test/helpers/workarea/admin/imports_helper_test.rb +31 -0
- data/test/helpers/workarea/admin/insights_helper_test.rb +19 -0
- data/test/helpers/workarea/admin/releases_helper_test.rb +152 -0
- data/test/helpers/workarea/admin/settings_helper_test.rb +34 -0
- data/test/integration/workarea/admin/assets_integration_test.rb +62 -0
- data/test/integration/workarea/admin/authorization_integration_test.rb +32 -0
- data/test/integration/workarea/admin/bookmarks_integration_test.rb +29 -0
- data/test/integration/workarea/admin/bulk_action_deletions_integration_test.rb +149 -0
- data/test/integration/workarea/admin/bulk_action_product_edits_integration_test.rb +77 -0
- data/test/integration/workarea/admin/bulk_action_sequential_product_edits_integration_test.rb +198 -0
- data/test/integration/workarea/admin/bulk_actions_integration_test.rb +42 -0
- data/test/integration/workarea/admin/catalog_product_copies_integration_test.rb +37 -0
- data/test/integration/workarea/admin/categories_integration_test.rb +63 -0
- data/test/integration/workarea/admin/categorizations_integration_test.rb +49 -0
- data/test/integration/workarea/admin/changesets_integration_test.rb +22 -0
- data/test/integration/workarea/admin/comments_integration_test.rb +147 -0
- data/test/integration/workarea/admin/content_blocks_integration_test.rb +116 -0
- data/test/integration/workarea/admin/content_emails_integration_test.rb +22 -0
- data/test/integration/workarea/admin/content_integration_test.rb +20 -0
- data/test/integration/workarea/admin/content_presets_integration_test.rb +38 -0
- data/test/integration/workarea/admin/create_catalog_categories_integration_test.rb +99 -0
- data/test/integration/workarea/admin/create_catalog_products_integration_test.rb +215 -0
- data/test/integration/workarea/admin/create_content_pages_integration_test.rb +99 -0
- data/test/integration/workarea/admin/create_pricing_discounts_integration_test.rb +249 -0
- data/test/integration/workarea/admin/create_releases_integration_test.rb +24 -0
- data/test/integration/workarea/admin/create_users_integration_test.rb +188 -0
- data/test/integration/workarea/admin/data_file_exports_integration_test.rb +69 -0
- data/test/integration/workarea/admin/data_file_imports_integration_test.rb +153 -0
- data/test/integration/workarea/admin/direct_uploads_integration_test.rb +92 -0
- data/test/integration/workarea/admin/discounts_integration_test.rb +57 -0
- data/test/integration/workarea/admin/email_signups_integration_test.rb +18 -0
- data/test/integration/workarea/admin/featured_products_integration_test.rb +55 -0
- data/test/integration/workarea/admin/guest_browsings_integration_test.rb +62 -0
- data/test/integration/workarea/admin/help_articles_integration_test.rb +70 -0
- data/test/integration/workarea/admin/impersonations_integration_test.rb +79 -0
- data/test/integration/workarea/admin/import_taxes_integration_test.rb +30 -0
- data/test/integration/workarea/admin/inventory_skus_integration_test.rb +68 -0
- data/test/integration/workarea/admin/jump_to_integration_test.rb +239 -0
- data/test/integration/workarea/admin/menus_integration_test.rb +142 -0
- data/test/integration/workarea/admin/pages_integration_test.rb +45 -0
- data/test/integration/workarea/admin/permissions_integration_test.rb +27 -0
- data/test/integration/workarea/admin/pricing_overrides_integration_test.rb +63 -0
- data/test/integration/workarea/admin/pricing_sku_prices_integration_test.rb +86 -0
- data/test/integration/workarea/admin/pricing_skus_integration_test.rb +67 -0
- data/test/integration/workarea/admin/product_images_integration_test.rb +68 -0
- data/test/integration/workarea/admin/product_rules_integration_test.rb +151 -0
- data/test/integration/workarea/admin/products_integration_test.rb +73 -0
- data/test/integration/workarea/admin/promo_codes_list_integration_test.rb +73 -0
- data/test/integration/workarea/admin/publish_authorization_integration_test.rb +66 -0
- data/test/integration/workarea/admin/publishing_integration_test.rb +36 -0
- data/test/integration/workarea/admin/recommendations_integration_test.rb +29 -0
- data/test/integration/workarea/admin/redirects_integration_test.rb +26 -0
- data/test/integration/workarea/admin/releases_integration_test.rb +172 -0
- data/test/integration/workarea/admin/reports_integration_test.rb +55 -0
- data/test/integration/workarea/admin/search_customizations_integration_test.rb +60 -0
- data/test/integration/workarea/admin/search_settings_integration_test.rb +63 -0
- data/test/integration/workarea/admin/shipping_service_integration_test.rb +79 -0
- data/test/integration/workarea/admin/sort_integration_test.rb +17 -0
- data/test/integration/workarea/admin/tax_categories_integration_test.rb +44 -0
- data/test/integration/workarea/admin/taxonomy_integration_test.rb +94 -0
- data/test/integration/workarea/admin/trash_integration_test.rb +145 -0
- data/test/integration/workarea/admin/users_integration_test.rb +153 -0
- data/test/integration/workarea/admin/variants_integration_test.rb +78 -0
- data/test/integration/workarea/admin/visiting_integration_test.rb +40 -0
- data/test/javascripts/add_content_block_buttons_spec.js +21 -0
- data/test/javascripts/add_to_calendar_buttons_spec.js +27 -0
- data/test/javascripts/asset_pickers_spec.js +56 -0
- data/test/javascripts/cloneable_rows_spec.js +38 -0
- data/test/javascripts/content_blocks_spec.js +47 -0
- data/test/javascripts/content_editor_form_cancel_spec.js +19 -0
- data/test/javascripts/content_editor_forms_spec.js +20 -0
- data/test/javascripts/content_preset_form_spec.js +18 -0
- data/test/javascripts/datepicker_fields_spec.js +65 -0
- data/test/javascripts/datetimepicker_fields_spec.js +97 -0
- data/test/javascripts/direct_uploads_spec.js +152 -0
- data/test/javascripts/fixtures/add_content_block_button.html.haml +10 -0
- data/test/javascripts/fixtures/add_to_calendar_button.html.haml +6 -0
- data/test/javascripts/fixtures/asset_picker.html.haml +6 -0
- data/test/javascripts/fixtures/calendar.html.haml +25 -0
- data/test/javascripts/fixtures/cloneable_row.html.haml +7 -0
- data/test/javascripts/fixtures/content_block.html.haml +4 -0
- data/test/javascripts/fixtures/content_block_editor_form.html.haml +8 -0
- data/test/javascripts/fixtures/datepicker_fields.html.haml +31 -0
- data/test/javascripts/fixtures/datetimepicker_fields.html.haml +11 -0
- data/test/javascripts/fixtures/direct_upload.html.haml +3 -0
- data/test/javascripts/fixtures/help_lookup_button.haml +11 -0
- data/test/javascripts/fixtures/menu_editor_menu_list_sortable.html.haml +3 -0
- data/test/javascripts/fixtures/new_navigation_taxon.html.haml +10 -0
- data/test/javascripts/fixtures/primary_nav.html.haml +4 -0
- data/test/javascripts/fixtures/property_toggle.html.haml +16 -0
- data/test/javascripts/fixtures/release_calendar_placeholder.html.haml +1 -0
- data/test/javascripts/fixtures/release_reminder.html.haml +6 -0
- data/test/javascripts/fixtures/remote_select.html.haml +1 -0
- data/test/javascripts/fixtures/sort_form.html.haml +3 -0
- data/test/javascripts/fixtures/takeover.html.haml +4 -0
- data/test/javascripts/fixtures/tooltip.html.haml +3 -0
- data/test/javascripts/menu_editor_menu_list_sortables_spec.js +40 -0
- data/test/javascripts/messages_spec.js +50 -0
- data/test/javascripts/new_navigation_taxons_spec.js +20 -0
- data/test/javascripts/primary_nav_spec.js +22 -0
- data/test/javascripts/property_toggles_spec.js +33 -0
- data/test/javascripts/release_calendar_placeholders_spec.js +60 -0
- data/test/javascripts/release_reminder_spec.js +18 -0
- data/test/javascripts/relevance_sort_spec.js +23 -0
- data/test/javascripts/remove_selects_spec.js +32 -0
- data/test/javascripts/spec_helper.js +3 -0
- data/test/javascripts/takeover_spec.js +99 -0
- data/test/javascripts/tooltips_spec.js +52 -0
- data/test/mailers/workarea/admin/status_report_mailer_test.rb +38 -0
- data/test/system/workarea/admin/activity_system_test.rb +79 -0
- data/test/system/workarea/admin/alerts_system_test.rb +43 -0
- data/test/system/workarea/admin/assets_system_test.rb +75 -0
- data/test/system/workarea/admin/bookmarks_system_test.rb +31 -0
- data/test/system/workarea/admin/bulk_action_deletions_system_test.rb +71 -0
- data/test/system/workarea/admin/bulk_actions_system_test.rb +206 -0
- data/test/system/workarea/admin/categories_system_test.rb +188 -0
- data/test/system/workarea/admin/comments_system_test.rb +21 -0
- data/test/system/workarea/admin/content_emails_system_test.rb +29 -0
- data/test/system/workarea/admin/content_presets_system_test.rb +65 -0
- data/test/system/workarea/admin/content_system_test.rb +130 -0
- data/test/system/workarea/admin/dashboard_system_test.rb +72 -0
- data/test/system/workarea/admin/data_files_system_test.rb +110 -0
- data/test/system/workarea/admin/discounts_system_test.rb +106 -0
- data/test/system/workarea/admin/exports_system_test.rb +63 -0
- data/test/system/workarea/admin/featured_products_system_test.rb +39 -0
- data/test/system/workarea/admin/guest_browsing_system_test.rb +86 -0
- data/test/system/workarea/admin/help_system_test.rb +104 -0
- data/test/system/workarea/admin/impersonation_system_test.rb +59 -0
- data/test/system/workarea/admin/imports_system_test.rb +42 -0
- data/test/system/workarea/admin/insights_system_test.rb +15 -0
- data/test/system/workarea/admin/inventory_skus_system_test.rb +45 -0
- data/test/system/workarea/admin/menus_system_test.rb +94 -0
- data/test/system/workarea/admin/orders_system_test.rb +108 -0
- data/test/system/workarea/admin/pages_system_test.rb +58 -0
- data/test/system/workarea/admin/payment_transactions_system_test.rb +44 -0
- data/test/system/workarea/admin/pricing_sku_prices_system_test.rb +81 -0
- data/test/system/workarea/admin/pricing_skus_system_test.rb +56 -0
- data/test/system/workarea/admin/product_copy_system_test.rb +48 -0
- data/test/system/workarea/admin/product_images_system_test.rb +71 -0
- data/test/system/workarea/admin/product_rules_system_test.rb +157 -0
- data/test/system/workarea/admin/products_system_test.rb +140 -0
- data/test/system/workarea/admin/publish_authorization_system_test.rb +90 -0
- data/test/system/workarea/admin/recommendations_system_test.rb +80 -0
- data/test/system/workarea/admin/redirects_system_test.rb +42 -0
- data/test/system/workarea/admin/releases_system_test.rb +232 -0
- data/test/system/workarea/admin/reports_system_test.rb +455 -0
- data/test/system/workarea/admin/search_customizations_system_test.rb +133 -0
- data/test/system/workarea/admin/search_settings_system_test.rb +34 -0
- data/test/system/workarea/admin/search_system_test.rb +111 -0
- data/test/system/workarea/admin/sequential_product_editing_system_test.rb +57 -0
- data/test/system/workarea/admin/shipping_services_system_test.rb +30 -0
- data/test/system/workarea/admin/style_guides_system_test.rb +18 -0
- data/test/system/workarea/admin/tax_categories_system_test.rb +61 -0
- data/test/system/workarea/admin/taxonomy_system_test.rb +41 -0
- data/test/system/workarea/admin/timeline_system_test.rb +62 -0
- data/test/system/workarea/admin/toolbar_system_test.rb +24 -0
- data/test/system/workarea/admin/trash_system_test.rb +53 -0
- data/test/system/workarea/admin/users_system_test.rb +141 -0
- data/test/system/workarea/admin/variants_system_test.rb +51 -0
- data/test/teaspoon_env.rb +10 -0
- data/test/test_helper.rb +10 -0
- data/test/view_models/workarea/admin/activity_view_model_test.rb +173 -0
- data/test/view_models/workarea/admin/changeset_view_model_test.rb +72 -0
- data/test/view_models/workarea/admin/code_list_view_model_test.rb +43 -0
- data/test/view_models/workarea/admin/commentable_view_model_test.rb +52 -0
- data/test/view_models/workarea/admin/content_view_model_test.rb +109 -0
- data/test/view_models/workarea/admin/dashboards/insights_graphs_test.rb +106 -0
- data/test/view_models/workarea/admin/dashboards/marketing_view_model_test.rb +25 -0
- data/test/view_models/workarea/admin/dashboards/people_view_model_test.rb +26 -0
- data/test/view_models/workarea/admin/discount_rules_view_model_test.rb +119 -0
- data/test/view_models/workarea/admin/discount_search_view_model_test.rb +26 -0
- data/test/view_models/workarea/admin/discount_view_model_test.rb +19 -0
- data/test/view_models/workarea/admin/fulfillment_item_view_model_test.rb +18 -0
- data/test/view_models/workarea/admin/fulfillment_view_model_test.rb +37 -0
- data/test/view_models/workarea/admin/help_search_view_model_test.rb +35 -0
- data/test/view_models/workarea/admin/insights/insights_details_test.rb +159 -0
- data/test/view_models/workarea/admin/insights/product_view_model_test.rb +92 -0
- data/test/view_models/workarea/admin/order_timeline_view_model_test.rb +194 -0
- data/test/view_models/workarea/admin/product_images_view_model_test.rb +22 -0
- data/test/view_models/workarea/admin/product_view_model_test.rb +152 -0
- data/test/view_models/workarea/admin/promo_code_view_model_test.rb +17 -0
- data/test/view_models/workarea/admin/release_calendar_view_model_test.rb +72 -0
- data/test/view_models/workarea/admin/release_view_model_test.rb +80 -0
- data/test/view_models/workarea/admin/releases_feed_view_model_test.rb +39 -0
- data/test/view_models/workarea/admin/reports/average_order_value_view_model_test.rb +27 -0
- data/test/view_models/workarea/admin/reports/group_by_time_test.rb +32 -0
- data/test/view_models/workarea/admin/reports/insights_view_model_test.rb +36 -0
- data/test/view_models/workarea/admin/reports/sales_by_traffic_referrer_view_model_test.rb +19 -0
- data/test/view_models/workarea/admin/reports/sales_over_time_view_model_test.rb +27 -0
- data/test/view_models/workarea/admin/search_analysis_view_model_test.rb +74 -0
- data/test/view_models/workarea/admin/search_view_model_test.rb +36 -0
- data/test/view_models/workarea/admin/shipping_view_model_test.rb +29 -0
- data/test/view_models/workarea/admin/timeline_view_model_test.rb +80 -0
- data/test/view_models/workarea/admin/transaction_view_model_test.rb +34 -0
- data/test/view_models/workarea/admin/user_search_view_model_test.rb +16 -0
- data/workarea-admin.gemspec +17 -0
- metadata +1401 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
- @page_title = t('workarea.admin.pricing_discounts.cards.insights.page_title', discount: @discount.name)
|
2
|
+
|
3
|
+
.view
|
4
|
+
.view__header
|
5
|
+
.grid.grid--middle.grid--right
|
6
|
+
.grid__cell.grid__cell--50
|
7
|
+
.view__heading
|
8
|
+
= link_to_index_for(@discount)
|
9
|
+
%h1= link_to @discount.name, url_for(@discount)
|
10
|
+
.grid__cell.grid__cell--25
|
11
|
+
= render_aux_navigation_for(@discount)
|
12
|
+
|
13
|
+
.view__container
|
14
|
+
= render_cards_for(@discount, :insights)
|
15
|
+
|
16
|
+
.section
|
17
|
+
.browsing-controls.browsing-controls--center.browsing-controls--filters-displayed
|
18
|
+
= form_tag request.path, method: 'get' do
|
19
|
+
= render 'workarea/admin/shared/date_selector', starts_at: @discount.insights.starts_at, ends_at: @discount.insights.ends_at
|
20
|
+
|
21
|
+
.grid.grid--auto.grid--center
|
22
|
+
.grid__cell
|
23
|
+
.card
|
24
|
+
.card__body.align-center
|
25
|
+
%h6.heading.heading--no-margin= t('workarea.admin.pricing_discounts.insights.discounts')
|
26
|
+
%span.heading.heading--1.heading--no-margin= number_to_currency @discount.insights.discounts
|
27
|
+
%p
|
28
|
+
- if @discount.insights.discounts_percent_change.present?
|
29
|
+
= insights_trend_icon(@discount.insights.discounts_percent_change)
|
30
|
+
= t('workarea.admin.pricing_discounts.insights.from_previous', percentage: insights_number_to_percentage(@discount.insights.discounts_percent_change))
|
31
|
+
= area_chart @discount.insights.discounts_graph_data, Workarea.config.default_chartkick_options.merge(prefix: Money.default_currency.symbol)
|
32
|
+
|
33
|
+
.grid__cell
|
34
|
+
.card
|
35
|
+
.card__body.align-center
|
36
|
+
%h6.heading.heading--no-margin= t('workarea.admin.pricing_discounts.insights.orders')
|
37
|
+
%span.heading.heading--1.heading--no-margin= number_with_delimiter @discount.insights.orders
|
38
|
+
%p
|
39
|
+
- if @discount.insights.orders_percent_change.present?
|
40
|
+
= insights_trend_icon(@discount.insights.orders_percent_change)
|
41
|
+
= t('workarea.admin.pricing_discounts.insights.from_previous', percentage: insights_number_to_percentage(@discount.insights.orders_percent_change))
|
42
|
+
= area_chart @discount.insights.orders_graph_data, Workarea.config.default_chartkick_options
|
43
|
+
|
44
|
+
.grid__cell
|
45
|
+
.card
|
46
|
+
.card__body.align-center
|
47
|
+
%h6.heading.heading--no-margin= t('workarea.admin.pricing_discounts.insights.revenue')
|
48
|
+
%span.heading.heading--1.heading--no-margin= number_to_currency @discount.insights.revenue
|
49
|
+
%p
|
50
|
+
- if @discount.insights.revenue_percent_change.present?
|
51
|
+
= insights_trend_icon(@discount.insights.revenue_percent_change)
|
52
|
+
= t('workarea.admin.pricing_discounts.insights.from_previous', percentage: insights_number_to_percentage(@discount.insights.revenue_percent_change))
|
53
|
+
= area_chart @discount.insights.revenue_graph_data, Workarea.config.default_chartkick_options.merge(prefix: Money.default_currency.symbol)
|
54
|
+
|
55
|
+
- if @discount.insights.feed.any?
|
56
|
+
.view__container.view__container--narrow
|
57
|
+
.section
|
58
|
+
%h2.align-center= t('workarea.admin.pricing_discounts.insights.insights_featuring_this_discount')
|
59
|
+
- @discount.insights.feed.each do |insight|
|
60
|
+
= render "workarea/admin/insights/#{insight.slug}", insight: insight
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.discount__node-line
|
2
|
+
%p.discount__node-group
|
3
|
+
%span.discount__node For each of the following products:
|
4
|
+
%span.discount__node= select_tag 'discount[product_ids]', options_from_collection_for_select(@discount.products, 'id', 'name', @discount.product_ids), multiple: true, data: { remote_select: { source: catalog_products_path(format: :json), options: { placeholder: 'Product A, Product B' } }.to_json }
|
5
|
+
|
6
|
+
.discount__node-line
|
7
|
+
%p.discount__node-group
|
8
|
+
%span.discount__node or categories:
|
9
|
+
%span.discount__node= select_tag 'discount[category_ids]', options_from_collection_for_select(@discount.categories, 'id', 'name', @discount.category_ids), multiple: true, data: { remote_select: { source: catalog_categories_path(format: :json), options: { placeholder: 'Category A, Category B' } }.to_json }
|
10
|
+
|
11
|
+
.discount__node-line
|
12
|
+
%p.discount__node-group
|
13
|
+
%span.discount__node buy
|
14
|
+
%span.discount__node
|
15
|
+
%span.property.property--inline
|
16
|
+
= number_field_tag 'discount[purchase_quantity]', @discount.purchase_quantity || 1, min: '1', class: 'text-box text-box--small', title: 'Quantity to Qualify', required: true
|
17
|
+
%span.discount__node get
|
18
|
+
%span.discount__node
|
19
|
+
%span.property.property--inline
|
20
|
+
= number_field_tag 'discount[apply_quantity]', @discount.apply_quantity || 1, min: '1', class: 'text-box text-box--small', title: 'Quantity to Discount', required: true
|
21
|
+
%span.discount__node at
|
22
|
+
%span.discount__node
|
23
|
+
%span.property.property--inline
|
24
|
+
= text_field_tag 'discount[percent_off]', @discount.percent_off, class: 'text-box text-box--small', title: 'Percentage to Discount', placeholder: '50', required: true
|
25
|
+
%span.discount__node % off
|
26
|
+
%span.discount__node a maximum of
|
27
|
+
%span.discount__node= select_tag 'discount[max_applications]', options_for_select(@discount.max_applications_options, @discount.max_applications), title: 'Maximum Number of Applications'
|
28
|
+
%span.discount__node time(s)
|
29
|
+
|
30
|
+
.discount__node-line
|
31
|
+
%p.discount__node-group
|
32
|
+
%span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
|
33
|
+
= render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
|
34
|
+
= render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
|
35
|
+
= append_partials('admin.discount_conditions', discount: @discount)
|
36
|
+
%p.discount__node-group
|
37
|
+
%span.discount__node applied
|
38
|
+
%span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
|
39
|
+
= render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount
|
@@ -0,0 +1,22 @@
|
|
1
|
+
.discount__node-line
|
2
|
+
%p.discount__node-group
|
3
|
+
%span.discount__node Take
|
4
|
+
%span.discount__node= select_tag 'discount[amount_type]', options_for_select(@discount.amount_type_options, @discount.amount_type), title: 'Type of Amount'
|
5
|
+
%span.discount__node
|
6
|
+
%span.property.property--inline
|
7
|
+
= text_field_tag 'discount[amount]', @discount.amount, class: 'text-box text-box--small', title: 'Amount of Discount', placeholder: '10', required: true
|
8
|
+
%span.discount__node off
|
9
|
+
%span.discount__node= select_tag 'discount[category_ids]', options_from_collection_for_select(@discount.categories, 'id', 'name', @discount.category_ids), multiple: true, data: { remote_select: { source: catalog_categories_path(format: :json), options: { placeholder: 'Category A, Category B' } }.to_json }
|
10
|
+
|
11
|
+
.discount__node-line
|
12
|
+
%p.discount__node-group
|
13
|
+
%span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
|
14
|
+
= render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
|
15
|
+
= render 'workarea/admin/pricing_discounts/conditions/item_quantity', discount: @discount
|
16
|
+
= render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
|
17
|
+
= append_partials('admin.discount_conditions', discount: @discount)
|
18
|
+
|
19
|
+
%p.discount__node-group
|
20
|
+
%span.discount__node applied
|
21
|
+
%span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
|
22
|
+
= render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.discount__node-line
|
2
|
+
%p.discount__node-group
|
3
|
+
%span.discount__node Add free gift of the following SKU:
|
4
|
+
%span.discount__node
|
5
|
+
%span.property.property--inline
|
6
|
+
= text_field_tag 'discount[sku]', @discount.sku, class: 'text-box text-box--medium', title: 'Free Gift SKU', placeholder: 'CNG2518913', required: true
|
7
|
+
%span.discount__node to the cart automatically
|
8
|
+
|
9
|
+
.discount__node-line
|
10
|
+
%p.discount__node-group
|
11
|
+
%span.discount__node when purchasing any of the following products:
|
12
|
+
%span.discount__node= select_tag 'discount[product_ids]', options_from_collection_for_select(@discount.products, 'id', 'name', @discount.product_ids), multiple: true, data: { remote_select: { source: catalog_products_path(format: :json), options: { placeholder: 'Product A, Product B' } }.to_json }
|
13
|
+
|
14
|
+
.discount__node-line
|
15
|
+
%p.discount__node-group
|
16
|
+
%span.discount__node or from any of the following categories:
|
17
|
+
%span.discount__node= select_tag 'discount[category_ids]', options_from_collection_for_select(@discount.categories, 'id', 'name', @discount.category_ids), multiple: true, data: { remote_select: { source: catalog_categories_path(format: :json), options: { placeholder: 'Category A, Category B' } }.to_json }
|
18
|
+
|
19
|
+
.discount__node-line
|
20
|
+
%p.discount__node-group
|
21
|
+
%span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
|
22
|
+
= render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
|
23
|
+
= render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
|
24
|
+
= append_partials('admin.discount_conditions', discount: @discount)
|
25
|
+
%p.discount__node-group
|
26
|
+
%span.discount__node applied
|
27
|
+
%span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
|
28
|
+
= render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
.discount__node-line
|
3
|
+
|
4
|
+
%p.discount__node-group
|
5
|
+
%span.discount__node Take
|
6
|
+
%span.discount__node= select_tag 'discount[amount_type]', options_for_select(@discount.amount_type_options, @discount.amount_type), title: 'Type of Amount'
|
7
|
+
%span.discount__node
|
8
|
+
%span.property.property--inline
|
9
|
+
= text_field_tag 'discount[amount]', @discount.amount, class: 'text-box text-box--small', title: 'Amount of Discount', placeholder: '10', required: true
|
10
|
+
%span.discount__node off the order total
|
11
|
+
|
12
|
+
.discount__node-line
|
13
|
+
%p.discount__node-group
|
14
|
+
%span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
|
15
|
+
= render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
|
16
|
+
= render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
|
17
|
+
= append_partials('admin.discount_conditions', discount: @discount)
|
18
|
+
%p.discount__node-group
|
19
|
+
%span.discount__node applied
|
20
|
+
%span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
|
21
|
+
= render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.discount__node-line
|
2
|
+
%p.discount__node-group
|
3
|
+
%span.discount__node Take
|
4
|
+
%span.discount__node= select_tag 'discount[amount_type]', options_for_select(@discount.amount_type_options, @discount.amount_type), title: 'Type of Amount'
|
5
|
+
%span.discount__node
|
6
|
+
%span.property.property--inline
|
7
|
+
= text_field_tag 'discount[amount]', @discount.amount, class: 'text-box text-box--small', title: 'Amount of Discount', placeholder: '10', required: true
|
8
|
+
%span.discount__node off
|
9
|
+
%span.discount__node= select_tag 'discount[product_ids]', options_from_collection_for_select(@discount.products, 'id', 'name', @discount.product_ids), multiple: true, data: { remote_select: { source: catalog_products_path(format: :json), options: { placeholder: 'Product A, Product B' } }.to_json }
|
10
|
+
|
11
|
+
.discount__node-line
|
12
|
+
%p.discount__node-group
|
13
|
+
%span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
|
14
|
+
= render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
|
15
|
+
= render 'workarea/admin/pricing_discounts/conditions/item_quantity', discount: @discount
|
16
|
+
= render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
|
17
|
+
= append_partials('admin.discount_conditions', discount: @discount)
|
18
|
+
|
19
|
+
.discount__node-line
|
20
|
+
%p.discount__node-group
|
21
|
+
%span.discount__node applied
|
22
|
+
%span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
|
23
|
+
= render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount
|
@@ -0,0 +1,32 @@
|
|
1
|
+
.discount__node-line
|
2
|
+
%p.discount__node-group
|
3
|
+
%span.discount__node Take
|
4
|
+
%span.discount__node= select_tag 'discount[amount_type]', options_for_select(@discount.amount_type_options, @discount.amount_type), title: 'Type of Amount'
|
5
|
+
%span.discount__node
|
6
|
+
%span.property.property--inline
|
7
|
+
= text_field_tag 'discount[amount]', @discount.amount, class: 'text-box text-box--small', title: 'Amount of Discount', placeholder: '10', required: true
|
8
|
+
%span.discount__node off products
|
9
|
+
|
10
|
+
.discount__node-line
|
11
|
+
%p.discount__node-group
|
12
|
+
%span.discount__node where
|
13
|
+
%span.discount__node
|
14
|
+
%span.property.property--inline
|
15
|
+
= text_field_tag 'discount[attribute_name]', @discount.attribute_name, class: 'text-box text-box--medium', title: 'Product Attribute', placeholder: 'Color', required: true
|
16
|
+
%span.discount__node is
|
17
|
+
%span.discount__node
|
18
|
+
%span.property.property--inline
|
19
|
+
= text_field_tag 'discount[attribute_value]', @discount.attribute_value, class: 'text-box text-box--medium', title: 'Product Attribute Value', placeholder: 'Black', required: true
|
20
|
+
|
21
|
+
.discount__node-line
|
22
|
+
%p.discount__node-group
|
23
|
+
%span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
|
24
|
+
= render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
|
25
|
+
= render 'workarea/admin/pricing_discounts/conditions/item_quantity', discount: @discount
|
26
|
+
= render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
|
27
|
+
= append_partials('admin.discount_conditions', discount: @discount)
|
28
|
+
|
29
|
+
%p.discount__node-group
|
30
|
+
%span.discount__node applied
|
31
|
+
%span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
|
32
|
+
= render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount
|
@@ -0,0 +1,36 @@
|
|
1
|
+
.discount__node-line
|
2
|
+
%p.discount__node-group
|
3
|
+
%span.discount__node Get any
|
4
|
+
%span.discount__node
|
5
|
+
%span.property.property--inline
|
6
|
+
= number_field_tag 'discount[quantity]', @discount.quantity || 1, min: '1', class: 'text-box text-box--small', title: 'Quantity Purchased', required: true
|
7
|
+
|
8
|
+
.discount__node-line
|
9
|
+
%p.discount__node-group
|
10
|
+
%span.discount__node of the following products:
|
11
|
+
%span.discount__node= select_tag 'discount[product_ids]', options_from_collection_for_select(@discount.products, 'id', 'name', @discount.product_ids), multiple: true, data: { remote_select: { source: catalog_products_path(format: :json), options: { placeholder: 'Product A, Product B' } }.to_json }
|
12
|
+
.discount__node-line
|
13
|
+
%p.discount__node-group
|
14
|
+
%span.discount__node or from the following categories:
|
15
|
+
%span.discount__node= select_tag 'discount[category_ids]', options_from_collection_for_select(@discount.categories, 'id', 'name', @discount.category_ids), multiple: true, data: { remote_select: { source: catalog_categories_path(format: :json), options: { placeholder: 'Category A, Category B' } }.to_json }
|
16
|
+
|
17
|
+
.discount__node-line
|
18
|
+
%p.discount__node-group
|
19
|
+
%span.discount__node for #{Money.default_currency.symbol}
|
20
|
+
%span.discount__node
|
21
|
+
%span.property.property--inline
|
22
|
+
= text_field_tag 'discount[price]', @discount.price, class: 'text-box text-box--small', title: 'Amount of Discount', placeholder: '10', required: true
|
23
|
+
%span.discount__node , a maximum of
|
24
|
+
%span.discount__node= select_tag 'discount[max_applications]', options_for_select(@discount.max_applications_options, @discount.max_applications), title: 'Maximum Number of Applications'
|
25
|
+
%span.discount__node time(s)
|
26
|
+
|
27
|
+
.discount__node-line
|
28
|
+
%p.discount__node-group
|
29
|
+
%span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
|
30
|
+
= render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
|
31
|
+
= render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
|
32
|
+
= append_partials('admin.discount_conditions', discount: @discount)
|
33
|
+
%p.discount__node-group
|
34
|
+
%span.discount__node applied
|
35
|
+
%span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
|
36
|
+
= render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount
|
@@ -0,0 +1,21 @@
|
|
1
|
+
.discount__node-line
|
2
|
+
%p.discount__node-group
|
3
|
+
%span.discount__node Set shipping cost for
|
4
|
+
%span.discount__node= select_tag 'discount[shipping_service]', options_for_select(@discount.shipping_service_options, @discount.shipping_service), title: 'Shipping Service'
|
5
|
+
%span.discount__node to
|
6
|
+
%span.discount__node
|
7
|
+
%span.property.property--inline
|
8
|
+
= Money.default_currency.symbol
|
9
|
+
= text_field_tag 'discount[amount]', @discount.amount, class: 'text-box text-box--small', title: 'Amount', placeholder: '0', required: true
|
10
|
+
|
11
|
+
.discount__node-line
|
12
|
+
%p.discount__node-group
|
13
|
+
%span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
|
14
|
+
= render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
|
15
|
+
= render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
|
16
|
+
= append_partials('admin.discount_conditions', discount: @discount)
|
17
|
+
|
18
|
+
%p.discount__node-group
|
19
|
+
%span.discount__node applied
|
20
|
+
%span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
|
21
|
+
= render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount
|
@@ -0,0 +1,64 @@
|
|
1
|
+
- @page_title = t('workarea.admin.pricing_discounts.rules.page_title', name: @discount.name)
|
2
|
+
|
3
|
+
.discount.view
|
4
|
+
.view__header
|
5
|
+
.grid
|
6
|
+
.grid__cell.grid__cell--25
|
7
|
+
= render 'workarea/admin/releases/select'
|
8
|
+
.grid__cell.grid__cell--50
|
9
|
+
.view__heading
|
10
|
+
= link_to_index_for(@discount)
|
11
|
+
%h1= link_to @discount.name, url_for(@discount)
|
12
|
+
.grid__cell.grid__cell--25
|
13
|
+
= render_aux_navigation_for(@discount)
|
14
|
+
|
15
|
+
.view__container
|
16
|
+
= render_cards_for(@discount, :rules)
|
17
|
+
|
18
|
+
- @discount.errors.full_messages.each do |message|
|
19
|
+
= render_message 'error', message
|
20
|
+
|
21
|
+
= form_tag pricing_discount_path(@discount), method: :patch, id: 'discount_form', data: { unsaved_changes: '' } do
|
22
|
+
= hidden_field_tag :template, :rules
|
23
|
+
.section
|
24
|
+
.property
|
25
|
+
%span.property__name= t('workarea.admin.pricing_discounts.rules.description')
|
26
|
+
.discount__rules
|
27
|
+
= render "workarea/admin/pricing_discounts/properties/#{@discount.slug}", discount: @discount
|
28
|
+
|
29
|
+
.section
|
30
|
+
.property
|
31
|
+
%span.property__name= t('workarea.admin.fields.single_use')
|
32
|
+
= toggle_button_for 'discount[single_use]', @discount.single_use? do
|
33
|
+
.toggle-button__more.toggle-button__more--below{ data: { toggle_button_positive_element: '' } }
|
34
|
+
%span.toggle-button__note= t('workarea.admin.pricing_discounts.rules.redeem_once')
|
35
|
+
.toggle-button__more.toggle-button__more--below{ data: { toggle_button_negative_element: '' } }
|
36
|
+
%span.toggle-button__note= t('workarea.admin.pricing_discounts.rules.redeem_unlimited')
|
37
|
+
|
38
|
+
.property
|
39
|
+
%span.property__name= t('workarea.admin.fields.allow_sale_items')
|
40
|
+
= toggle_button_for 'discount[allow_sale_items]', @discount.allow_sale_items? do
|
41
|
+
.toggle-button__more.toggle-button__more--below{ data: { toggle_button_positive_element: '' } }
|
42
|
+
%span.toggle-button__note= t("workarea.admin.pricing_discounts.rules.sale_items_notes.active.#{@discount.price_level}")
|
43
|
+
.toggle-button__more.toggle-button__more--below{ data: { toggle_button_negative_element: '' } }
|
44
|
+
%span.toggle-button__note= t("workarea.admin.pricing_discounts.rules.sale_items_notes.inactive.#{@discount.price_level}")
|
45
|
+
|
46
|
+
.property
|
47
|
+
= label_tag 'discount_compatible_discount_ids', t('workarea.admin.fields.compatible_discount_ids'), class: 'property__name'
|
48
|
+
= select_tag 'discount[compatible_discount_ids]', options_from_collection_for_select(@discount.compatible_discounts, 'id', 'name', @discount.compatible_discount_ids), multiple: true, data: { remote_select: { source: pricing_discounts_path(format: :json) }.to_json }
|
49
|
+
%span.property__note= t('workarea.admin.pricing_discounts.rules.compatible_note')
|
50
|
+
|
51
|
+
.property
|
52
|
+
= label_tag 'discount_excluded_category_ids', t('workarea.admin.fields.excluded_category_ids'), class: 'property__name'
|
53
|
+
= select_tag 'discount[excluded_category_ids]', options_from_collection_for_select(@discount.excluded_categories, 'id', 'name', @discount.excluded_category_ids), multiple: true, data: { remote_select: { source: catalog_categories_path(format: :json) }.to_json }
|
54
|
+
%span.property__note= t('workarea.admin.pricing_discounts.rules.excluded_categories_note')
|
55
|
+
|
56
|
+
.property
|
57
|
+
= label_tag 'discount_excluded_product_ids', t('workarea.admin.fields.excluded_product_ids'), class: 'property__name'
|
58
|
+
= select_tag 'discount[excluded_product_ids]', options_from_collection_for_select(@discount.excluded_products, 'id', 'name', @discount.excluded_product_ids), multiple: true, data: { remote_select: { source: catalog_products_path(format: :json) }.to_json }
|
59
|
+
%span.property__note= t('workarea.admin.pricing_discounts.rules.excluded_products_note')
|
60
|
+
|
61
|
+
.workflow-bar
|
62
|
+
.grid.grid--auto.grid--right.grid--middle
|
63
|
+
.grid__cell= render 'workarea/admin/shared/publishing_select'
|
64
|
+
.grid__cell= button_tag t('workarea.admin.form.save_changes'), value: 'save_discount', class: 'workflow-bar__button workflow-bar__button--update'
|
@@ -0,0 +1,39 @@
|
|
1
|
+
- @page_title = @discount.name
|
2
|
+
|
3
|
+
.view
|
4
|
+
.view__header
|
5
|
+
.grid
|
6
|
+
.grid__cell.grid__cell--25
|
7
|
+
= render 'workarea/admin/releases/select'
|
8
|
+
.grid__cell.grid__cell--50
|
9
|
+
.view__heading
|
10
|
+
= link_to_index_for(@discount)
|
11
|
+
%h1= @discount.name
|
12
|
+
.grid__cell.grid__cell--25
|
13
|
+
= render_aux_navigation_for(@discount)
|
14
|
+
|
15
|
+
.view__container
|
16
|
+
- if @discount.auto_deactivated?
|
17
|
+
= render_message 'warning' do
|
18
|
+
= t('workarea.admin.pricing_discounts.show.deactivated_html', time: @discount.auto_deactivated_at.to_date.to_s(:long), timespan: distance_of_time_in_words(Workarea.config.discount_staleness_ttl))
|
19
|
+
|
20
|
+
.section
|
21
|
+
.grid.grid--auto.grid--center
|
22
|
+
.grid__cell
|
23
|
+
= form_tag pricing_discount_path(@discount), method: :patch do
|
24
|
+
= hidden_field_tag 'discount[active]', true
|
25
|
+
= button_tag t('workarea.admin.pricing_discounts.show.reactivate'), class: 'button button--create'
|
26
|
+
.grid__cell
|
27
|
+
= form_tag pricing_discount_path(@discount), method: :patch do
|
28
|
+
= hidden_field_tag 'discount[active]', true
|
29
|
+
= hidden_field_tag 'discount[auto_deactivate]', false
|
30
|
+
= button_tag t('workarea.admin.pricing_discounts.show.disable_auto_deactivation'), class: 'button button--destroy'
|
31
|
+
|
32
|
+
= render_cards_for(@discount)
|
33
|
+
|
34
|
+
.workflow-bar
|
35
|
+
.grid
|
36
|
+
.grid__cell.grid__cell--50
|
37
|
+
= link_to t('workarea.admin.actions.delete'), pricing_discount_path(@discount), class: 'workflow-bar__button workflow-bar__button--delete', data: { method: 'delete', confirm: t('workarea.admin.actions.delete_confirmation') }
|
38
|
+
.grid__cell.grid__cell--50.grid--right
|
39
|
+
= append_partials('admin.discount_show_workflow_bar', model: @discount)
|
@@ -0,0 +1,115 @@
|
|
1
|
+
- @page_title = t('workarea.admin.pricing_overrides.title', name: @order.id)
|
2
|
+
|
3
|
+
.view
|
4
|
+
.view__header
|
5
|
+
.grid.grid--center
|
6
|
+
.grid__cell.grid__cell--50
|
7
|
+
.view__heading
|
8
|
+
%h1= t('workarea.admin.pricing_overrides.title', name: @order.id)
|
9
|
+
%p= t('workarea.admin.pricing_overrides.description')
|
10
|
+
|
11
|
+
.view__container.view__container--narrow{ data: { pricing_overrides: '' } }
|
12
|
+
= form_tag pricing_override_path(@override), method: 'put', id: 'pricing_override_form', class: 'pricing-overrides' do
|
13
|
+
#disabled-subtotal-field-info.tooltip-content
|
14
|
+
%p= t('workarea.admin.pricing_overrides.disabled_subtotal_field_info')
|
15
|
+
#disabled-item-field-info.tooltip-content
|
16
|
+
%p= t('workarea.admin.pricing_overrides.disabled_item_field_info')
|
17
|
+
|
18
|
+
.grid.grid--flush
|
19
|
+
.grid__cell
|
20
|
+
%table.pricing-overrides__items
|
21
|
+
%thead
|
22
|
+
%tr
|
23
|
+
%th= t('workarea.admin.pricing_overrides.product')
|
24
|
+
%th.align-center= t('workarea.admin.pricing_overrides.unit_price')
|
25
|
+
%th.align-center= t('workarea.admin.pricing_overrides.adjusted_unit_price')
|
26
|
+
%th.align-center= t('workarea.admin.pricing_overrides.quantity')
|
27
|
+
%th.align-right= t('workarea.admin.pricing_overrides.proposed_pricing')
|
28
|
+
%tbody
|
29
|
+
- @order.items.each do |item|
|
30
|
+
%tr.pricing_overrides__item
|
31
|
+
%td
|
32
|
+
.grid.grid--auto
|
33
|
+
.grid__cell
|
34
|
+
= link_to image_tag(product_image_url(item.image, :small), alt: item.product.name), catalog_product_url(item.product, sku: item.sku)
|
35
|
+
.grid__cell
|
36
|
+
%p= link_to item.product.name, catalog_product_path(item.product, sku: item.sku)
|
37
|
+
%p= item.sku
|
38
|
+
- if item.customizations.any?
|
39
|
+
- item.customizations.each do |name, value|
|
40
|
+
%p #{name.titleize}: #{value}
|
41
|
+
%td.align-center= number_to_currency item.original_unit_price
|
42
|
+
%td.align-center
|
43
|
+
- if @override.adjusts_subtotal?
|
44
|
+
%span{ data: { tooltip: { content_id: '#disabled-item-field-info', contentCloning: true }.to_json } } N/A
|
45
|
+
- else
|
46
|
+
%p
|
47
|
+
.property
|
48
|
+
= Money.default_currency.symbol
|
49
|
+
= number_field_tag "override[item_prices][#{item.id}]", @override.item_price_for_id(item.id), step: 0.01, min: 0.0, class: 'text-box text-box--small pricing-overrides__field'
|
50
|
+
%td.align-center= item.quantity
|
51
|
+
%td.align-right
|
52
|
+
- item.price_adjustments.adjusting('item').each do |adjustment|
|
53
|
+
%p
|
54
|
+
%span= price_adjustment_description_for(adjustment)
|
55
|
+
%span= number_to_currency(adjustment.amount)
|
56
|
+
%p
|
57
|
+
%strong= t('workarea.admin.pricing_overrides.item_total')
|
58
|
+
%span= number_to_currency(item.total_price)
|
59
|
+
%td.align-right
|
60
|
+
.section
|
61
|
+
.grid
|
62
|
+
.grid__cell.grid__cell--40-at-medium
|
63
|
+
.property
|
64
|
+
= label_tag 'comment', t('workarea.admin.pricing_overrides.leave_a_comment'), class: 'property__name'
|
65
|
+
= text_area_tag 'comment', params[:comment], class: 'text-box text-box--multi-line', placeholder: t('workarea.admin.pricing_overrides.comment_placeholder')
|
66
|
+
|
67
|
+
.grid__cell.grid__cell--20-at-medium
|
68
|
+
.grid__cell.grid__cell--40-at-medium
|
69
|
+
%h3= t('workarea.admin.orders.attributes.totals.title')
|
70
|
+
|
71
|
+
%table.data-pairs.pricing-overrides__totals
|
72
|
+
%tbody
|
73
|
+
%tr
|
74
|
+
%th
|
75
|
+
%span.data-pairs__name= t('workarea.admin.orders.attributes.totals.subtotal')
|
76
|
+
%td= number_to_currency @order.subtotal_price
|
77
|
+
%tr
|
78
|
+
%th
|
79
|
+
%span.data-pairs__name= t('workarea.admin.pricing_overrides.adjustment')
|
80
|
+
%td
|
81
|
+
- if @override.adjusts_items?
|
82
|
+
%span{ data: { tooltip: { content_id: '#disabled-subtotal-field-info' }.to_json } } N/A
|
83
|
+
- else
|
84
|
+
.property
|
85
|
+
= label_tag 'override[subtotal_adjustment]', class: 'property__name property__name--inline' do
|
86
|
+
\-
|
87
|
+
= Money.default_currency.symbol
|
88
|
+
= number_field_tag 'override[subtotal_adjustment]', @override.subtotal_adjustment * -1, step: 0.01, max: @order.subtotal_price, class: 'text-box text-box--small pricing-overrides__field'
|
89
|
+
%tr
|
90
|
+
%th
|
91
|
+
%span.data-pairs__name= t('workarea.admin.orders.attributes.totals.shipping')
|
92
|
+
%td= number_to_currency @order.shipping_subtotal
|
93
|
+
%tr
|
94
|
+
%th
|
95
|
+
%span.data-pairs__name= t('workarea.admin.pricing_overrides.adjustment')
|
96
|
+
%td
|
97
|
+
.property
|
98
|
+
= label_tag 'override[shipping_adjustment]', class: 'property__name property__name--inline' do
|
99
|
+
\-
|
100
|
+
= Money.default_currency.symbol
|
101
|
+
= number_field_tag 'override[shipping_adjustment]', @override.shipping_adjustment * -1, step: 0.01, max: @order.shipping_subtotal, class: 'text-box text-box--small pricing-overrides__field'
|
102
|
+
%tr
|
103
|
+
%th
|
104
|
+
%span.data-pairs__name= t('workarea.admin.orders.attributes.totals.tax')
|
105
|
+
%td= number_to_currency @order.tax_total
|
106
|
+
%tr
|
107
|
+
%th
|
108
|
+
%span.data-pairs__name= t('workarea.admin.orders.attributes.totals.total_price')
|
109
|
+
%td
|
110
|
+
%strong= number_to_currency @order.total_price
|
111
|
+
|
112
|
+
.workflow-bar
|
113
|
+
.grid.grid--auto.grid--right.grid--middle
|
114
|
+
.grid__cell
|
115
|
+
= button_tag "#{t('workarea.admin.pricing_overrides.button')} →", value: 'adjust_order_pricing', class: 'workflow-bar__button'
|