Commit 5d483d64 authored by Evonne's avatar Evonne

Bug 1835329 Fix upgrade alert message alignment

- put in containers in header.tpl for alert messages

behatnotneeded

Change-Id: Ie07eb2b466868ee4b81be125f6b88c05d77482cb
parent 3aa6c65e
......@@ -29,16 +29,20 @@
{/if}
{if $SITEOUTOFSYNC}
<div class="site-message alert alert-warning" role="alert">
{str tag=siteoutofsyncfor section=error arg1=$SITEOUTOFSYNC}
<div class="container">
{str tag=siteoutofsyncfor section=error arg1=$SITEOUTOFSYNC}
</div>
</div>
{/if}
{if $SITECLOSED}
<div class="site-message alert alert-danger" role="alert">
{if $SITECLOSED == 'logindisabled'}{str tag=siteclosedlogindisabled section=mahara arg1="`$WWWROOT`admin/upgrade.php"}{else}{str tag=siteclosed}{/if}
<div class="container">
{if $SITECLOSED == 'logindisabled'}{str tag=siteclosedlogindisabled section=mahara arg1="`$WWWROOT`admin/upgrade.php"}{else}{str tag=siteclosed}{/if}
</div>
</div>
{/if}
{if $SITETOP}
<div id="switchwrap">{$SITETOP|safe}</div>
<div id="switchwrap">{$SITETOP|safe}</div>
{/if}
{if $USERMASQUERADING || !$PRODUCTIONMODE || $SITECLOSED || $SITETOP}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment