diff --git a/plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb b/plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb index 37825b7..be52227 100644 --- a/plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb +++ b/plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb @@ -119,7 +119,7 @@ class MezuroPluginProfileController < ProfileController range.end = params[:range][:end] range.label = params[:range][:label] range.grade = params[:range][:grade] - range.color = params[:range][:color] + range.color = "10" + params[:range][:color] #FIXME when you have js color pallete range.comments = params[:range][:comments] range end diff --git a/plugins/mezuro/views/mezuro_plugin_profile/_range.html.erb b/plugins/mezuro/views/mezuro_plugin_profile/_range.html.erb index 486c70f..3529a53 100644 --- a/plugins/mezuro/views/mezuro_plugin_profile/_range.html.erb +++ b/plugins/mezuro/views/mezuro_plugin_profile/_range.html.erb @@ -11,5 +11,5 @@ <%=range.grade%> - + -- libgit2 0.21.2