Style the table in the feed content.

This commit is contained in:
Tom Hughes 2009-07-07 23:30:04 +00:00
parent 5198500d48
commit 50f78e52e8

View file

@ -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|