<section class='d-dropdown' id='user-dropdown'>
  <ul class='user-dropdown-links'>
    <li>{{#link-to 'userActivity' currentUser class="user-activity-link" }}{{i18n activity}}{{/link-to}}</li>
    {{#if showAdminLinks}}
      <li>{{#link-to 'adminUser' currentUser.username }}{{i18n admin_title}}{{/link-to}}</li>
    {{/if}}
    <li>
    {{#link-to 'userPrivateMessages.index' currentUser class='user-messages-link'}}
      {{i18n user.unread_message_count count=currentUser.unread_private_messages}}
    {{/link-to}}
    </li>
    <li>{{#link-to 'preferences' currentUser}}{{i18n user.preferences}}{{/link-to}}</li>
    <li><button {{action "logout"}} class='btn btn-danger right logout'><i class='fa fa-sign-out'></i>{{i18n user.log_out}}</button></li>
  </ul>
</section>
