From 8b2c2e5c34ba0d9a7ccb4ad5c4900699fafe238e Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Tue, 29 Nov 2022 10:33:31 +0800 Subject: [PATCH] UX: Align user page dismiss notifications btn with new navigation (#19235) This change only affects the redesign user page navigation menu. The dismiss button was incorrectly positioned below the user notifications stream. A side effect of this is that it affected our infinite loading code for the notifications stream. No tests have been added in this commit as we have yet to quite figure out how we can reliabily test for behaviours which requires us to scroll the page. --- .../discourse/app/templates/user/notifications.hbs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/user/notifications.hbs b/app/assets/javascripts/discourse/app/templates/user/notifications.hbs index afd04ce81b4..4187acf26d8 100644 --- a/app/assets/javascripts/discourse/app/templates/user/notifications.hbs +++ b/app/assets/javascripts/discourse/app/templates/user/notifications.hbs @@ -1,18 +1,19 @@ {{#if this.currentUser.redesigned_user_page_nav_enabled}} +
-
- {{#if this.model}} - - {{/if}} + {{#if this.model}} + + {{/if}} + {{else}}