Class: Decidim::AuthorCell
- Includes:
- CellsHelper, LayoutHelper, Messaging::ConversationHelper, Devise::Controllers::Helpers, Devise::Controllers::UrlHelpers
- Defined in:
- app/cells/decidim/author_cell.rb
Overview
This cell renders the author of a resource. It is intended to be used below resource titles to indicate its authorship & such, and is intended for resources that have a single author.
Instance Method Summary collapse
- #date ⇒ Object
- #flag ⇒ Object
- #profile ⇒ Object
- #profile_inline ⇒ Object
- #show ⇒ Object
- #withdraw ⇒ Object
Methods included from Messaging::ConversationHelper
#conversation_between, #current_or_new_conversation_path_with, #link_to_current_or_new_conversation_with
Methods included from CellsHelper
#collaborative_drafts_controller?, #current_component, #flagable?, #from_context, #index_action?, #posts_controller?, #proposals_controller?, #show_action?, #withdrawable?
Methods included from LayoutHelper
#_icon_classes, #external_icon, #favicon, #icon
Methods inherited from ViewModel
Methods included from ReplaceButtonsHelper
Methods included from ActionAuthorizationHelper
#action_authorized_button_to, #action_authorized_link_to, #logged_button_to, #logged_link_to
Methods included from ScopesHelper
#has_visible_scopes?, #scope_name_for_picker, #scopes_picker_field, #scopes_picker_filter, #scopes_picker_tag
Methods included from DecidimFormHelper
#base_error_messages, #decidim_form_for, #decidim_form_slug_url, #editor_field_tag, #form_field_has_error?, #foundation_datepicker_locale_tag, #name_with_locale, #scopes_picker_field_tag, #tab_element_class_for, #translated_field_tag
Methods included from ResourceHelper
#linked_classes_filter_values_for, #linked_classes_for, #linked_resources_for, #resource_locator, #resource_title
Instance Method Details
#date ⇒ Object
30 31 32 |
# File 'app/cells/decidim/author_cell.rb', line 30 def date render end |
#flag ⇒ Object
34 35 36 |
# File 'app/cells/decidim/author_cell.rb', line 34 def flag render end |
#profile ⇒ Object
22 23 24 |
# File 'app/cells/decidim/author_cell.rb', line 22 def profile render end |
#profile_inline ⇒ Object
26 27 28 |
# File 'app/cells/decidim/author_cell.rb', line 26 def profile_inline render end |
#show ⇒ Object
18 19 20 |
# File 'app/cells/decidim/author_cell.rb', line 18 def show render end |
#withdraw ⇒ Object
38 39 40 |
# File 'app/cells/decidim/author_cell.rb', line 38 def withdraw render end |