bmbrands/theme_bootstrap — pull request #263 by gjb2048 (2014-05-05 18:45:25+00:00)
Title: Show new messages only with setting option

Hi Bas,

This has been spawned from Elegance on the iMoot site showing old messages when you log in which was driving me nuts!

This is the most efficient solution, but the first attempt is here: https://github.com/gjb2048/theme_bootstrap/tree/master_messages - if you wanted an alternative :)

Both branches also solve a logic flaw in the count of the messages when (!$message->from) is true. And... display the right word for 'message' / 'messages' given the number.

Cheers,

Gareth