{{#d-section pageClass="user-activity" class="user-secondary-navigation" scrollTop="false"}}
  <nav role="navigation">
    {{#mobile-nav class="activity-nav" desktopClass="action-list activity-list nav-stacked"}}
      {{#d-navigation-item route="userActivity.index"}}{{i18n "user.filters.all"}}{{/d-navigation-item}}
      {{#d-navigation-item route="userActivity.topics"}}{{i18n "user_action_groups.4"}}{{/d-navigation-item}}
      {{#d-navigation-item route="userActivity.replies"}}{{i18n "user_action_groups.5"}}{{/d-navigation-item}}

      {{#if user.showRead}}
        {{#d-navigation-item route="userActivity.read" title=(i18n "user.read_help")}}
          {{i18n "user.read"}}
        {{/d-navigation-item}}
      {{/if}}

      {{#if user.showDrafts}}
        {{#d-navigation-item route="userActivity.drafts"}}
          {{i18n "user_action_groups.15"}}
        {{/d-navigation-item}}
      {{/if}}

      {{#d-navigation-item route="userActivity.likesGiven"}}{{i18n "user_action_groups.1"}}{{/d-navigation-item}}

      {{#if user.showBookmarks}}
        {{#d-navigation-item route="userActivity.bookmarks"}}{{i18n "user_action_groups.3"}}{{/d-navigation-item}}
      {{/if}}

      {{plugin-outlet
        name="user-activity-bottom"
        connectorTagName="li"
        args=(hash model=model)
      }}
    {{/mobile-nav}}
  </nav>
{{/d-section}}
{{#if canDownloadPosts}}
  <section class="user-additional-controls">
    {{d-button action=(action "exportUserArchive") class="btn-default" label="user.download_archive.button_text" icon="download"}}
  </section>
{{/if}}

<section class="user-content">
  {{outlet}}
</section>
