Layouts lego

Layouts lego

What other messages are:

combined with?

Hamilton Abreu02:26, 27 June 2010

This is really crappy code from an i18n perspective. Basically they're gluing three text parts together. The code is below. I'll ask them to make a proper solution for this.

                .message.notice.highlight_for_user{:style => "padding: 8px 4px; font-weight: bold"}
                  =t(".welcome_from")
                  =link_to t("sessions.new.welcome_from_facebook"), oauth_authorize_path, :title => "Facebook", :id => "facebook_auth"
                  =t(".now")

The same code part exists for Twitter.

Siebrand22:50, 28 June 2010