From 7e40558dc428cedc35b7fdbbcd36224d3d0e97f9 Mon Sep 17 00:00:00 2001 From: maxwell <maxwell@joindiaspora.com> Date: Mon, 8 Nov 2010 10:30:01 -0800 Subject: [PATCH] reverse the years as they are displyed in the birthday dropdown --- app/views/devise/mailer/invitation.html.haml | 2 +- app/views/people/edit.html.haml | 2 +- app/views/users/getting_started/_step_1.html.haml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/devise/mailer/invitation.html.haml b/app/views/devise/mailer/invitation.html.haml index f88ff44113..17f0ed9df3 100644 --- a/app/views/devise/mailer/invitation.html.haml +++ b/app/views/devise/mailer/invitation.html.haml @@ -52,7 +52,7 @@ - @resource.inviters.each do |inv| - if @resource.invite_messages[inv.id.to_s] = "#{inv.real_name}:" - = @resource.invite_messages[inv.id.to_s] + = "\"#{@resource.invite_messages[inv.id.to_s]}\"" %p %p= link_to 'Accept invitation', accept_invitation_url(@resource, :invitation_token => @resource.invitation_token), :class => "large_text" %p.small diff --git a/app/views/people/edit.html.haml b/app/views/people/edit.html.haml index f84e950693..98089ec39b 100644 --- a/app/views/people/edit.html.haml +++ b/app/views/people/edit.html.haml @@ -34,7 +34,7 @@ %h4 = t('.your_birthday') %br - = select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 1930, :end_year => 2000 + = select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 2000, :end_year => 1930 %h4 = t('.your_bio') diff --git a/app/views/users/getting_started/_step_1.html.haml b/app/views/users/getting_started/_step_1.html.haml index acf3aff85f..c377090d24 100644 --- a/app/views/users/getting_started/_step_1.html.haml +++ b/app/views/users/getting_started/_step_1.html.haml @@ -25,11 +25,11 @@ %h4 Your birthday %br - = select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 1930, :end_year => 2000 + = select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 2000, :end_year => 1930 %h4 Your bio - = profile.text_area :bio, :value => @profile.bio, :rows => 5, :placeholder => "Fill me out" + = profile.text_area :bio, :value => @profile.bio, :rows => 5, :placeholder => t(".fill_me_out") %h4 Your photo -- GitLab