Skip to content

Commit

Permalink
Changed to set 'server' type attribute for server logs like <body typ…
Browse files Browse the repository at this point in the history
…e="server">.
  • Loading branch information
psychs committed Mar 10, 2008
1 parent 961eb0f commit 8a8c150
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/ChangeLog.txt
@@ -1,3 +1,7 @@
2008-03-10 Satoshi Nakagawa <artension@gmail.com>

Changed to set 'server' type attribute for server logs like <body type="server">.

2008-03-09 Satoshi Nakagawa <artension@gmail.com>

Fixed a bug, 'Override Log Font' option should be applied to body[type=...] and body.(normal|console) elements.
Expand Down
4 changes: 3 additions & 1 deletion ruby/view/log.rb
Expand Up @@ -456,8 +456,10 @@ def initial_document
if @channel
body_attrs = %| type="#{@channel.type}"|
body_attrs << %| channelname="#{h(@channel.name)}"| if @channel.channel?
else
elsif @console
body_attrs = %| type="console"|
else
body_attrs = %| type="server"|
end

style = @theme.log.content || ''
Expand Down

0 comments on commit 8a8c150

Please sign in to comment.