From: Tom Hughes Date: Tue, 7 Jul 2009 23:30:04 +0000 (+0000) Subject: Style the table in the feed content. X-Git-Tag: live~6862^2~1 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/50f78e52e86606fa339d9ed617e4e6b89cc03ad7 Style the table in the feed content. --- diff --git a/app/views/changeset/list.atom.builder b/app/views/changeset/list.atom.builder index 960ce0ce2..c71c22aa1 100644 --- a/app/views/changeset/list.atom.builder +++ b/app/views/changeset/list.atom.builder @@ -37,6 +37,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009, end feed.content :type => 'xhtml' do |xhtml| + xhtml.style "th { text-align: left } tr { vertical-align: top }" xhtml.table do |table| table.tr do |tr| tr.th t("browse.changeset_details.created_at") @@ -55,7 +56,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009, end end unless changeset.tags.empty? - table.tr :valign => "top" do |tr| + table.tr do |tr| tr.th t("browse.tag_details.tags") tr.td do |td| td.table :cellpadding => "0" do |table|