Skip to content

Commit fbba172

Browse files
committed
Try to support Redmine 5
1 parent a9d2d62 commit fbba172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/gtt_map_layers/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="contextual">
2-
<%= link_to sprite_icon('add', t('map_layer.new')), new_gtt_map_layer_path, :class => 'icon icon-add' %>
2+
<%= link_to (Redmine::VERSION.to_s >= '6.0.0') ? sprite_icon('add', t('map_layer.new')) : t('map_layer.new'), new_gtt_map_layer_path, :class => 'icon icon-add' %>
33
</div>
44

55
<%= title t('map_layer.plural') %>

0 commit comments

Comments
 (0)