bmbrands/theme_bootstrap — pull request #264 by gjb2048 (2014-05-05 18:54:46+00:00)
Title: Add option to show new messages only.

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