Commit d454cdd1efcee850d91cc8780edeac128e8e1689

Authored by Victor Costa
1 parent c6408307
Exists in master

Fix button icon

views/gamification/_gamification_profile_settings.html.erb
1 <h2><%= _('Gamification Settings') %></h2> 1 <h2><%= _('Gamification Settings') %></h2>
2 2
3 <% if profile.gamification_plugin_disabled %> 3 <% if profile.gamification_plugin_disabled %>
4 - <%= button(:remove, _('Enable gamification'), 4 + <%= button(:add, _('Enable gamification'),
5 {:action => :enable_gamification, profile: profile.identifier, controller: :gamification_plugin_myprofile}, 5 {:action => :enable_gamification, profile: profile.identifier, controller: :gamification_plugin_myprofile},
6 :id => 'gamification_enable', 6 :id => 'gamification_enable',
7 :data => {:confirm=>_("Are you sure you want to activate gamification for this profile?")}) 7 :data => {:confirm=>_("Are you sure you want to activate gamification for this profile?")})