Skip to content

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

Don't show colored outline on icon

Oliver Günther6dc2f5353cf7
diff --git a/modules/overviews/app/views/overviews/overviews/show.html.erb b/modules/overviews/app/views/overviews/overviews/show.html.erb
index e8f121e7048..ee5ab9d1151 100644
--- a/modules/overviews/app/views/overviews/overviews/show.html.erb
+++ b/modules/overviews/app/views/overviews/overviews/show.html.erb
@@ -20,7 +20,7 @@
tag: :a,
href: build_favorite_path(@project, format: :html),
data: { method: favored ? :delete : :post },
- classes: "op-primer--star-icon",
+ classes: favored ? "op-primer--star-icon" : "",
label: favored ? I18n.t(:button_unfavorite) : I18n.t(:button_favorite),
aria: { label: favored ? I18n.t(:button_unfavorite) : I18n.t(:button_favorite) },
test_selector: 'project-favorite-button'