From d4d483edfd02d942b87b85e6a6d102bb5d3616f1 Mon Sep 17 00:00:00 2001 From: Olivier PEREZ <olivier@olivierperez.fr> Date: Tue, 23 Dec 2014 00:59:56 +0100 Subject: [PATCH] Messages displayed on the top of pages are now dismissable. --- tpl/studs.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/studs.tpl b/tpl/studs.tpl index de89e8ad..5eeb84cb 100644 --- a/tpl/studs.tpl +++ b/tpl/studs.tpl @@ -3,7 +3,7 @@ {block name=main} {if !empty($message)} - <div class="alert alert-{$message->type}" role="alert">{$message->message}</div> + <div class="alert alert-dismissible alert-{$message->type}" role="alert">{$message->message}<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button></div> {/if} {* Global informations about the current poll *} -- GitLab