We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0435d17 commit fc56185Copy full SHA for fc56185
app/views/projects/show/_map.html.erb
@@ -1,6 +1,6 @@
1
<% if @project.nil? or @project.module_enabled?(:gtt) %>
2
<div class="projectmap box">
3
- <h3 class="icon icon-gtt-map"><%= l(:label_project_map) %></h3>
+ <h3 class="icon icon-gtt-map"><%= (Redmine::VERSION.to_s >= '6.0.0') ? sprite_icon('gtt-map', l(:label_project_map), plugin: 'redmine_gtt') : l(:label_project_map) %></h3>
4
5
<%= map_tag map: @project.map, rotation: @project.map_rotation %>
6
</div>
0 commit comments