svileng/announcements — pull request #2 by chaserx (2012-04-19 00:58:14+00:00)
Title: Adding Twitter Bootstrap as a formatting option

By default it creates the announcement in the style you presented before. With the :format => "bootstrap" option provided, it creates an announcement in the twitter bootstrap style using the alert-block class and a default alert-heading of "Warning!".

Alert-headings are currently not provided to the original announcement format, only with the bootstrap format.

I duplicated the function in the js template to capture the close class for twitter bootstrap.

I modified the README to include the bootstrap formatting option.

Tested the bootstrap formatting option with a simple addition to the spec. All tests appear to pass.