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 a9d2d62 commit fbba172Copy full SHA for fbba172
app/views/gtt_map_layers/index.html.erb
@@ -1,5 +1,5 @@
1
<div class="contextual">
2
-<%= link_to sprite_icon('add', t('map_layer.new')), new_gtt_map_layer_path, :class => 'icon icon-add' %>
+<%= 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' %>
3
</div>
4
5
<%= title t('map_layer.plural') %>
0 commit comments