diff --git a/app/assets/javascripts/discourse/app/components/user-nav/activity-nav.hbs b/app/assets/javascripts/discourse/app/components/user-nav/activity-nav.hbs deleted file mode 100644 index 1de3a36f95f..00000000000 --- a/app/assets/javascripts/discourse/app/components/user-nav/activity-nav.hbs +++ /dev/null @@ -1,84 +0,0 @@ - - {{d-icon "stream"}} - {{i18n "user.filters.all"}} - - - {{d-icon "list-ul"}} - {{i18n "user_action_groups.4"}} - - - {{d-icon "reply"}} - {{i18n "user_action_groups.5"}} - - -{{#if @user.showRead}} - - {{d-icon "history"}} - {{i18n "user.read"}} - -{{/if}} - -{{#if @user.showDrafts}} - - {{d-icon "pencil-alt"}} - {{@draftLabel}} - -{{/if}} - -{{#if (gt @model.pending_posts_count 0)}} - - {{d-icon "clock"}} - {{@pendingLabel}} - -{{/if}} - - - {{d-icon "heart"}} - {{i18n "user_action_groups.1"}} - - -{{#if @user.showBookmarks}} - - {{d-icon "bookmark"}} - {{i18n "user_action_groups.3"}} - -{{/if}} - - \ No newline at end of file diff --git a/app/assets/javascripts/discourse/app/components/user-nav/notifications-nav.hbs b/app/assets/javascripts/discourse/app/components/user-nav/notifications-nav.hbs deleted file mode 100644 index 02c1161fc7b..00000000000 --- a/app/assets/javascripts/discourse/app/components/user-nav/notifications-nav.hbs +++ /dev/null @@ -1,52 +0,0 @@ - - {{d-icon "bell"}} - {{i18n "user.filters.all"}} - - - - {{d-icon "reply"}} - {{i18n "user_action_groups.6"}} - - - - {{d-icon "heart"}} - {{i18n "user_action_groups.2"}} - - -{{#if @siteSettings.enable_mentions}} - - {{d-icon "at"}} - {{i18n "user_action_groups.7"}} - -{{/if}} - - - {{d-icon "pencil-alt"}} - {{i18n "user_action_groups.11"}} - - - \ No newline at end of file diff --git a/app/assets/javascripts/discourse/app/templates/user-invited.hbs b/app/assets/javascripts/discourse/app/templates/user-invited.hbs index 7997e48b743..33a32a68135 100644 --- a/app/assets/javascripts/discourse/app/templates/user-invited.hbs +++ b/app/assets/javascripts/discourse/app/templates/user-invited.hbs @@ -1,47 +1,25 @@ {{#if this.can_see_invite_details}} - {{#if this.currentUser.redesigned_user_page_nav_enabled}} - + -
- - - - - -
- {{else}} - - - - - - - - {{/if}} +
+ + + + + +
{{/if}} {{outlet}} \ No newline at end of file diff --git a/app/assets/javascripts/discourse/app/templates/user/activity.hbs b/app/assets/javascripts/discourse/app/templates/user/activity.hbs index 0b84f01e008..208349526e9 100644 --- a/app/assets/javascripts/discourse/app/templates/user/activity.hbs +++ b/app/assets/javascripts/discourse/app/templates/user/activity.hbs @@ -1,94 +1,94 @@ -{{#if this.currentUser.redesigned_user_page_nav_enabled}} - + -
- - + + + {{d-icon "stream"}} + {{i18n "user.filters.all"}} + + + + {{d-icon "list-ul"}} + {{i18n "user_action_groups.4"}} + + + {{d-icon "reply"}} + {{i18n "user_action_groups.5"}} + + + {{#if this.user.showRead}} + - -
- -{{else}} - - - - - {{#if this.canDownloadPosts}} -
- -
- {{/if}} -{{/if}} + + +
{{outlet}} diff --git a/app/assets/javascripts/discourse/app/templates/user/notifications.hbs b/app/assets/javascripts/discourse/app/templates/user/notifications.hbs index 46119dd16d1..baa565b8001 100644 --- a/app/assets/javascripts/discourse/app/templates/user/notifications.hbs +++ b/app/assets/javascripts/discourse/app/templates/user/notifications.hbs @@ -1,74 +1,64 @@ -{{#if this.currentUser.redesigned_user_page_nav_enabled}} - + -
- - - - - {{#if this.model}} - - {{/if}} -
-{{else}} - - + + -
  • - - {{i18n "user.filters.all"}} - -
  • -
  • - - {{i18n "user_action_groups.6"}} - -
  • -
  • - - {{i18n "user_action_groups.2"}} - -
  • - {{#if this.siteSettings.enable_mentions}} -
  • - - {{i18n "user_action_groups.7"}} - -
  • - {{/if}} -
  • - - {{i18n "user_action_groups.11"}} - -
  • - - - -
    + {{d-icon "bell"}} + {{i18n "user.filters.all"}} + -
    + + {{d-icon "reply"}} + {{i18n "user_action_groups.6"}} + + + + {{d-icon "heart"}} + {{i18n "user_action_groups.2"}} + + + {{#if this.siteSettings.enable_mentions}} + + {{d-icon "at"}} + {{i18n "user_action_groups.7"}} + + {{/if}} + + + {{d-icon "pencil-alt"}} + {{i18n "user_action_groups.11"}} + + + + + {{#if this.model}} -
    +
    + {{/if}} -{{/if}} +