Style the table in the feed content.
This commit is contained in:
parent
5198500d48
commit
50f78e52e8
1 changed files with 2 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue