diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-02-23 16:26:59 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-02-23 16:26:59 +0100 |
commit | e95f5a0881559961a2b2b5fd5e70bf980f98a449 (patch) | |
tree | 18253a7c2b559e3421cca9d9c36b50d4b95aaa55 /html.rb | |
parent | 8b4f9c6bc3d8bcdcf8c0876580b6589ec6eced81 (diff) |
redesign of invite participants
Diffstat (limited to '')
-rw-r--r-- | html.rb | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -41,7 +41,8 @@ HEAD @css = [@css[0]] + @css[1..-1].sort unless @css.empty? @css.each{|title,href| - ret += "<link rel='stylesheet' type='text/css' href='#{href}' title='#{title}'/>\n" + titleattr = "title='#{title}'" if title != "" + ret += "<link rel='stylesheet' type='text/css' href='#{href}' #{titleattr}/>\n" ret += "<link rel='stylesheet' type='text/css' href='#{href}' title='print' media='print' />\n" if title == "print" } @@ -54,7 +55,7 @@ HEAD ret += "</head>" ret end - def add_css(href, title, default = false) + def add_css(href, title = "", default = false) if default @css.unshift([title,href]) else |