Permalink
Browse files

added link back to list page

changed style of table


git-svn-id: svn://78.47.249.61/ruby-mediawiki/trunk@44 ba9c31aa-a806-0410-9a81-9f13d15ee83b
  • Loading branch information...
1 parent a7f5b24 commit 6678b3d31ec9595c86aee26d7656f777dd4185f4 sven committed Jan 19, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/comment_sync.rb
View
@@ -111,8 +111,9 @@ def update_wiki
page.text = @sql.get_table_description( table ).to_s + "\n"
# table header
page.text += "==Columns==\n"
+ page.text += "[[Database/Tables|<< List of Tables]]\n"
t = MediaWiki::Table.new
- t.style = 'border="1" cellspacing="0" cellpadding="3"'
+ t.style = 'border="1" cellspacing="0" cellpadding="3" style="border-collapse: collapse;"'
t.header_style = 'bgcolor="lightblue"'
t.header = ['field name', 'datatype', 'description']
@@ -121,7 +122,6 @@ def update_wiki
end
page.text += t.text
page.text += "\n[[Category:Database]]\n"
- puts page.text
page.submit("updating page for table #{table}")
end

0 comments on commit 6678b3d

Please sign in to comment.