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
Use proper icons
Klaus Zanders58e90be85e4e
diff --git a/modules/costs/app/components/my/time_tracking/mode_switcher_component.rb b/modules/costs/app/components/my/time_tracking/mode_switcher_component.rbindex 81e1170cd4f..429a6b85ac6 100644--- a/modules/costs/app/components/my/time_tracking/mode_switcher_component.rb+++ b/modules/costs/app/components/my/time_tracking/mode_switcher_component.rb@@ -40,7 +40,7 @@ module Mycontrol.with_item(tag: :a,href: url_for(params.permit(:controller, :date).merge(action:, view_mode: view_mode)),- icon: "calendar", # TODO: Replace with proper icon+ icon: icon_for_mode(action),label: t("label_#{action}"),title: t("label_#{action}"),selected: (current_mode == action)@@ -48,6 +48,17 @@ module Myendendend++ def icon_for_mode(mode)+ case mode+ when :day+ "op-calendar-day"+ when :week+ "op-calendar-week"+ else+ "calendar"+ end+ endendendend