annotate gpp/templates/shoutbox/shout.html @ 481:9f888dbe61ce

Fixing #230; add a scrollbar to the PM popup dialog if necessary. This wasn't as easy as I thought. Had to wrap the PM text in a div with its styling (max-height and overflow). If I then resized the dialog, I'd get two scrollbars. So for now, made the dialog non-resizable.
author Brian Neal <bgneal@gmail.com>
date Fri, 07 Oct 2011 02:11:33 +0000
parents 4557974db0e0
children
rev   line source
bgneal@271 1 {% load core_tags %}
bgneal@272 2 <p>
bgneal@12 3 <span class="shoutbox-user">{{ shout.user.username }}:</span>
bgneal@272 4 <span class="shoutbox-shout">{{ shout.html|safe }}</span><br />
bgneal@271 5 <span class="shoutbox-date">{{ shout.shout_date|elapsed }}</span>
bgneal@12 6 </p>