From fc56185fa8908db6a5ed8be15b8e4a6c51315e83 Mon Sep 17 00:00:00 2001 From: Daniel Kastl Date: Wed, 20 Nov 2024 11:59:03 +0900 Subject: [PATCH] Adjusts map icon for project box --- app/views/projects/show/_map.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/show/_map.html.erb b/app/views/projects/show/_map.html.erb index 19d7f641..668b70c3 100644 --- a/app/views/projects/show/_map.html.erb +++ b/app/views/projects/show/_map.html.erb @@ -1,6 +1,6 @@ <% if @project.nil? or @project.module_enabled?(:gtt) %>
-

<%= l(:label_project_map) %>

+

<%= (Redmine::VERSION.to_s >= '6.0.0') ? sprite_icon('gtt-map', l(:label_project_map), plugin: 'redmine_gtt') : l(:label_project_map) %>

<%= map_tag map: @project.map, rotation: @project.map_rotation %>