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
Consistent segmented control for meetings
Oliver Günther07a693a38a64
diff --git a/modules/meeting/app/components/recurring_meetings/show_page_sub_header_component.html.erb b/modules/meeting/app/components/recurring_meetings/show_page_sub_header_component.html.erbindex bb7af0046c8..49d2e2e1541 100644--- a/modules/meeting/app/components/recurring_meetings/show_page_sub_header_component.html.erb+++ b/modules/meeting/app/components/recurring_meetings/show_page_sub_header_component.html.erb@@ -6,15 +6,17 @@subheader.with_filter_component dorender(Primer::Alpha::SegmentedControl.new("aria-label": I18n.t(:label_filter_plural))) do |control|control.with_item(tag: :a,- href: recurring_meeting_path(@meeting, direction: :past),- label: t(:label_past_meetings_short),- title: t(:label_past_meetings),- selected: @params[:direction] == "past")- control.with_item(tag: :a,+ icon: :"arrow-right",href: recurring_meeting_path(@meeting),label: t(:label_upcoming_meetings_short),title: t(:label_upcoming_meetings),selected: @params[:direction] != "past")+ control.with_item(tag: :a,+ icon: :history,+ href: recurring_meeting_path(@meeting, direction: :past),+ label: t(:label_past_meetings_short),+ title: t(:label_past_meetings),+ selected: @params[:direction] == "past")endendend %>