aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.hamlet
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-29 11:31:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-29 11:31:06 -0400
commitc2f3e66d8c65e46046f83221996b3a180bd49657 (patch)
treeda30e48c507d5503ab48a6f9ed4d2910dad7abf6 /templates/sidebar.hamlet
parent5271d699d22f9addb35f2374a2a70da59897bb1d (diff)
show alerts in the sidebar
This has a bug -- it seems long polling can only wait on one page at a time. Need to re-unify the notifiers.
Diffstat (limited to 'templates/sidebar.hamlet')
-rw-r--r--templates/sidebar.hamlet17
1 files changed, 1 insertions, 16 deletions
diff --git a/templates/sidebar.hamlet b/templates/sidebar.hamlet
index 3b5048151..32900b920 100644
--- a/templates/sidebar.hamlet
+++ b/templates/sidebar.hamlet
@@ -1,18 +1,3 @@
<div .span3 ##{ident}>
<div .sidebar-nav>
- $maybe msg <- mmsg
- <div .alert .alert-info>
- <a .close data-dismiss="alert" href="#">&times;</a>
- #{msg}
- <div .alert .alert-info>
- <a .close data-dismiss="alert" href="#">&times;</a>
- <b>This is just a demo.</b> If this were not just a demo,
- I'd not be filling this sidebar with silly alerts.
- <div .alert .alert-success>
- <a .close data-dismiss="alert" href="#">&times;</a>
- <b>Well done!</b>
- You successfully read this important alert message.
- <div .alert .alert-error>
- <a .close data-dismiss="alert" href="#">&times;</a>
- <b>Whoops!</b>
- Unable to connect to blah blah.. #{date}
+ ^{content}