Class: Decidim::Accountability::StatusCell

Inherits:
ViewModel
  • Object
show all
Includes:
ActiveSupport::NumberHelper, ApplicationHelper, BreadcrumbHelper, TranslationsHelper
Defined in:
decidim-accountability/app/cells/decidim/accountability/status_cell.rb

Overview

This cell renders the status of a category

Instance Method Summary collapse

Methods included from TranslationsHelper

empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?

Methods included from TranslatableAttributes

#default_locale?

Methods included from BreadcrumbHelper

#categories_hierarchy, #category, #current_scope, #parent_categories, #progress_calculator, #stats_calculator

Instance Method Details

#showObject



16
17
18
19
20
# File 'decidim-accountability/app/cells/decidim/accountability/status_cell.rb', line 16

def show
  return unless render?

  render
end