OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Update documentation
Mir Bhatiad29beb07a548
diff --git a/lookbook/docs/patterns/12-tables.md.erb b/lookbook/docs/patterns/12-tables.md.erbindex cb841e6bf0c..2cafad9ffde 100644--- a/lookbook/docs/patterns/12-tables.md.erb+++ b/lookbook/docs/patterns/12-tables.md.erb@@ -77,8 +77,19 @@ main_column :title```Note: Ideally, one one main column will be present for each table.+#### Footer+Set `has_footer?` to true to add a footer to the table, defining the component/content to be rendered with the `footer` method.+```ruby+def has_footer?+ true+end++def footer+ render CustomFooterComponent.new(...)+end+```## Best practicesdiff --git a/modules/meeting/app/components/recurring_meetings/table_component.rb b/modules/meeting/app/components/recurring_meetings/table_component.rbindex 720bab91af3..520c2c4e6a6 100644--- a/modules/meeting/app/components/recurring_meetings/table_component.rb+++ b/modules/meeting/app/components/recurring_meetings/table_component.rb@@ -38,7 +38,7 @@ module RecurringMeetingstrueend- def has_footer? # rubocop:disable Metrics/AbcSize+ def has_footer?return false unless recurring_meetingoptions[:max_count] - count > 0