Class: Decidim::NavbarAdminLinkCell
- Includes:
- IconHelper
- Defined in:
- app/cells/decidim/navbar_admin_link_cell.rb
Overview
This cell renders a link in the top navbar so admins can easily manage data without having to look for it at the admin panel when they’re at a public page. example use:
<%= cell("decidim/navbar_admin_link", { link_url: link_url, link_options: link_options }) %>
Instance Method Summary collapse
Methods included from IconHelper
#component_icon, #manifest_icon, #resource_icon
Methods included from LayoutHelper
#_icon_classes, #extended_navigation_bar, #external_icon, #favicon, #icon, #organization_colors, #role
Methods inherited from ViewModel
Methods included from FilterParamsHelper
Methods included from MarkupHelper
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 TranslatableAttributes
Methods included from DecidimFormHelper
#areas_for_select, #base_error_messages, #decidim_form_for, #decidim_form_slug_url, #editor_field_tag, #form_field_has_error?, #form_required_explanation, #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
#show ⇒ Object
13 14 15 |
# File 'app/cells/decidim/navbar_admin_link_cell.rb', line 13 def show render if link_url end |