]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/list.atom.builder
Render the links using partial so we can do the appropriate rendering
[rails.git] / app / views / changeset / list.atom.builder
index 960ce0ce278e83ba94f2fed050e9ae1494634e49..db53cdb080c381c534f452876cea97ee171ce30c 100644 (file)
@@ -5,7 +5,9 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
   feed.title @title
 
   feed.subtitle :type => 'xhtml' do |xhtml|
-    xhtml.p @description
+    xhtml.p do |p|
+      p << @description
+    end
   end
 
   feed.updated @edits.map {|e|  [e.created_at, e.closed_at].max }.max
@@ -37,6 +39,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 +58,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|