Commit f0abf438 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix display of microheader for logged out users


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 69aa288a
......@@ -544,15 +544,15 @@ div.rbuttons .small-logo {
padding: 0;
}
.viewheader .links {
padding: 0 .5em .25em;
padding: 0 .5em 0;
font-size: .9em;
}
.viewheader .nav {
padding: 0 .5em .25em;
padding: 0 .5em .5em;
font-size: .9em;
border-bottom: 1px dotted #ddd;
}
.viewheader .title {
border-top: 1px dotted #ddd;
padding: .5em 0 .25em;
}
.sitemessage {
......
......@@ -19,8 +19,8 @@
{elseif $backurl}<a class="btn-reply" href="{$backurl}">{str tag=back}</a>&nbsp;
{/if}
</div>
<div class="nav">
{if $LOGGEDIN}
<div class="nav">
<a href="{$WWWROOT}user/view.php">{$userdisplayname|escape}</a>&nbsp;:
{foreach from=$MAINNAV item=item}
{if $item.path}
......@@ -28,8 +28,8 @@
{/if}
{/foreach}
{if $mnethost}<a href="{$mnethost.url}">{str tag=backto arg1=$mnethost.name}</a>&nbsp;{/if}
{/if}
</div>
{/if}
<div class="center cb title">
<strong>{$viewtitle|escape}</strong>{if $ownername && $viewtype != 'profile'} {str tag=by section=view} <a href="{$WWWROOT}{$ownerlink}">{$ownername|escape}</a>{/if}</div>
</div>
......
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