From c654bdbfa949672459070b55ac7bc533bb06c64a Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Tue, 4 Oct 2022 15:18:54 +0800 Subject: [PATCH] DEV: Experimental changes to user page notifications nav (#18466) No tests as the changes are experimental and unconfirmed Internal Ref: /t/67780/58 --- .../app/templates/user/notifications.hbs | 112 +++++++++++++----- 1 file changed, 80 insertions(+), 32 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/user/notifications.hbs b/app/assets/javascripts/discourse/app/templates/user/notifications.hbs index 9637395e671..462340cf054 100644 --- a/app/assets/javascripts/discourse/app/templates/user/notifications.hbs +++ b/app/assets/javascripts/discourse/app/templates/user/notifications.hbs @@ -1,41 +1,89 @@ - - -
  • - - {{i18n "user.filters.all"}} - -
  • -
  • - - {{i18n "user_action_groups.6"}} - -
  • -
  • - - {{i18n "user_action_groups.2"}} - -
  • - {{#if this.siteSettings.enable_mentions}} +{{#if this.currentUser.redesigned_user_page_nav_enabled}} + + +
    + + + {{#if this.model}} + {{/if}} -
  • - - {{i18n "user_action_groups.11"}} - -
  • - - +
    +{{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"}} + +
  • + +
    -
    +
    -{{#if this.model}} -
    - -
    + {{#if this.model}} +
    + +
    + {{/if}} {{/if}}