From 1c42d167ec83424c3d77dda82e7f33afed00f4db Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 5 Dec 2016 14:04:18 +0800 Subject: [PATCH] Missing spinner icon on group pages. --- .../discourse/templates/components/group-post-stream.js.hbs | 2 ++ app/assets/javascripts/discourse/templates/group-index.hbs | 2 ++ app/assets/javascripts/discourse/templates/group-posts.hbs | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/components/group-post-stream.js.hbs b/app/assets/javascripts/discourse/templates/components/group-post-stream.js.hbs index 9ab4c17c68c..a67a93d4e59 100644 --- a/app/assets/javascripts/discourse/templates/components/group-post-stream.js.hbs +++ b/app/assets/javascripts/discourse/templates/components/group-post-stream.js.hbs @@ -7,3 +7,5 @@ {{/each}} {{/load-more}} + +{{conditional-loading-spinner condition=loading}} diff --git a/app/assets/javascripts/discourse/templates/group-index.hbs b/app/assets/javascripts/discourse/templates/group-index.hbs index bbfe6334d2b..5e1fd167ee9 100644 --- a/app/assets/javascripts/discourse/templates/group-index.hbs +++ b/app/assets/javascripts/discourse/templates/group-index.hbs @@ -41,6 +41,8 @@ {{/load-more}} + + {{conditional-loading-spinner condition=loading}} {{else}}
{{i18n "groups.empty.users"}}
{{/if}} diff --git a/app/assets/javascripts/discourse/templates/group-posts.hbs b/app/assets/javascripts/discourse/templates/group-posts.hbs index f38104880f4..7dbeebb3007 100644 --- a/app/assets/javascripts/discourse/templates/group-posts.hbs +++ b/app/assets/javascripts/discourse/templates/group-posts.hbs @@ -1 +1 @@ -{{group-post-stream posts=model emptyText=emptyText loadMore="loadMore"}} +{{group-post-stream posts=model emptyText=emptyText loadMore="loadMore" loading=loading}}