# HG changeset patch # User Chris Cannam # Date 1395046584 0 # Node ID cb53cb6eeaef109f408be44c3f70ecca15dc1a03 # Parent bffab3762865fe7bea9397d52625318456f62fbd# Parent b1f6665080fda2635866cff0582592af9a0ab7d1 Merge from default branch diff -r bffab3762865 -r cb53cb6eeaef Gemfile --- a/Gemfile Thu Nov 07 17:19:09 2013 +0000 +++ b/Gemfile Mon Mar 17 08:56:24 2014 +0000 @@ -1,6 +1,6 @@ source 'http://rubygems.org' -gem "rails", "3.2.13" +gem "rails", "3.2.17" gem "jquery-rails", "~> 2.0.2" gem "i18n", "~> 0.6.0" gem "coderay", "~> 1.0.6" diff -r bffab3762865 -r cb53cb6eeaef app/views/account/register.html.erb --- a/app/views/account/register.html.erb Thu Nov 07 17:19:09 2013 +0000 +++ b/app/views/account/register.html.erb Mon Mar 17 08:56:24 2014 +0000 @@ -22,20 +22,20 @@

<%= f.text_field :lastname, :required => true %>

<%= f.text_field :mail, :required => true %>

- - + <%= labelled_fields_for :ssamr_user_details, @ssamr_user_details do |fields| %>

<%=l(:label_ssamr_details)%>

- +

<%= fields.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit' %> <%=l(:text_user_ssamr_description_info).html_safe%>

- <%= fields.radio_button :institution_type, true %> + <%= fields.radio_button :institution_type, true, :checked => true %> <%= fields.collection_select(:institution_id, Institution.find(:all, :order => "institutions.order"), :id, :name, {:selected => @selected_institution_id, :prompt => true}).gsub('&', '&').html_safe %>

@@ -44,7 +44,7 @@ <%= fields.text_field(:other_institution) %>

<% end %> - + <% if Setting.openid? %>

<%= f.text_field :identity_url %>

diff -r bffab3762865 -r cb53cb6eeaef config/application.rb --- a/config/application.rb Thu Nov 07 17:19:09 2013 +0000 +++ b/config/application.rb Mon Mar 17 08:56:24 2014 +0000 @@ -32,6 +32,10 @@ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' + # Avoid deprecation warning (may want to change this later if future + # Redmine updates are OK with it) + config.i18n.enforce_available_locales = false + # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de