We have a bunch of template logic around alerts in `squarelet/templates/base.html`, and it's complicated enough that it should be in its own template.