Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions views/templates/blocks/header-main-navi.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,15 @@ $taoAsATool = get_data('taoAsATool');

<?php endforeach ?>

<?php elseif(!empty($userLabel)): ?>

<?php else: ?>
<?php $displayName = !empty($userLabel) ? $userLabel : __('User'); ?>
<li class="infoControl user-label-outside-menu">
<span class="a">
<span class="icon-user"></span>
<span><?=$userLabel?></span>
<span><?= $displayName ?></span>
</span>
Comment thread
bartlomiejmarszal marked this conversation as resolved.
</li>
<?php endif; ?>

<?php if(has_data('unread-notification')): ?>
<li data-env="user" class="li-logout">
<a id="logout" href="<?= get_data('notification-url') ?>" title="<?= __('Messages') ?>">
Expand Down