Class: Spree::PageSections::AnnouncementBar
Constant Summary
collapse
- BACKGROUND_COLOR_DEFAULT =
'#F5F5F4'
- TOP_PADDING_DEFAULT =
8
- BOTTOM_PADDING_DEFAULT =
8
- TOP_BORDER_WIDTH_DEFAULT =
0
Spree::PageSection::BORDER_COLOR_DEFAULT, Spree::PageSection::BOTTOM_BORDER_WIDTH_DEFAULT, Spree::PageSection::TEXT_COLOR_DEFAULT
Instance Attribute Summary
#default_blocks
Class Method Summary
collapse
Instance Method Summary
collapse
#available_blocks_to_add, #blocks_available?, #can_be_deleted?, #can_be_sorted?, #can_sort_blocks?, #copy_rich_text_fields_from, #deep_clone, #deep_clone_links, #display_name, #dup, #lazy?, #lazy_path, #restore_design_settings_to_defaults, #rich_text_fields, #role, #theme, #to_partial_path
Class Method Details
.role ⇒ Object
13
14
15
|
# File 'app/models/spree/page_sections/announcement_bar.rb', line 13
def self.role
'header'
end
|
Instance Method Details
#can_be_hidden? ⇒ Boolean
17
18
19
|
# File 'app/models/spree/page_sections/announcement_bar.rb', line 17
def can_be_hidden?
true
end
|
#icon_name ⇒ Object
21
22
23
|
# File 'app/models/spree/page_sections/announcement_bar.rb', line 21
def icon_name
'speakerphone'
end
|