# HG changeset patch # User souliane # Date 1450206243 -3600 # Node ID 9e1e6d5241f9373841d6c76501890685c72c6878 # Parent 0576fec37be034a058250552414be02eea7144cb browser_side: restore printing the day change while displaying history diff -r 0576fec37be0 -r 9e1e6d5241f9 src/browser/public/libervia.css --- a/src/browser/public/libervia.css Tue Dec 15 19:35:00 2015 +0100 +++ b/src/browser/public/libervia.css Tue Dec 15 20:04:03 2015 +0100 @@ -1043,7 +1043,13 @@ margin-top: 7px; } +.chatTextMe { + margin-top: 7px; + font-style: italic; +} + .chatTextInfo { + margin-top: 7px; font-weight: bold; font-style: italic; } diff -r 0576fec37be0 -r 9e1e6d5241f9 src/browser/sat_browser/chat.py --- a/src/browser/sat_browser/chat.py Tue Dec 15 19:35:00 2015 +0100 +++ b/src/browser/sat_browser/chat.py Tue Dec 15 20:04:03 2015 +0100 @@ -245,6 +245,13 @@ self.content.add(ChatText(timestamp, nick, my_message, message, extra)) self.content_scroll.scrollToBottom() + def printDayChange(self, day): + """Display the day on a new line. + + @param day(unicode): day to display (or not if this method is not overwritten) + """ + self.printInfo("* " + day) + def setTitle(self, title=None, extra=None): """Refresh the title of this Chat dialog