Class: Decidim::ProfileActionsCell
- Inherits:
-
ProfileCell
- Object
- ViewModel
- ProfileCell
- Decidim::ProfileActionsCell
- Includes:
- CellsHelper, Messaging::ConversationHelper
- Defined in:
- app/cells/decidim/profile_actions_cell.rb
Constant Summary collapse
- ACTIONS_ITEMS =
{ edit_profile: { icon: "pencil-line", path: :account_path }, message: { icon: "mail-send-line", path: :new_conversation_path }, disabled_message: { icon: "mail-send-line", options: { html_options: { disabled: true, title: I18n.t("decidim.user_contact_disabled") } } } }.freeze
Constants inherited from ProfileCell
Decidim::ProfileCell::TABS_ITEMS
Method Summary
Methods included from Messaging::ConversationHelper
#conversation_between, #conversation_between_multiple, #conversation_label_for, #conversation_name_for, #current_or_new_conversation_path_with, #current_or_new_conversation_path_with_multiple, #current_or_new_profile_conversation_path, #current_or_new_user_conversation_path, #link_to_current_or_new_conversation_with, #text_link_to_current_or_new_conversation_with, #username_list
Methods included from CellsHelper
#current_component, #flaggable?, #from_context, #index_action?, #show_action?, #user_flaggable?, #withdrawable?