From 8a40a1d50aadca98c179510cd3cf8d7f931da958 Mon Sep 17 00:00:00 2001 From: Sudaraka Jayathilaka Date: Mon, 16 Apr 2018 14:23:31 +0530 Subject: [PATCH] Add users-top plugin outlet (#5761) --- app/assets/javascripts/discourse/templates/mobile/users.hbs | 1 + app/assets/javascripts/discourse/templates/users.hbs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/mobile/users.hbs b/app/assets/javascripts/discourse/templates/mobile/users.hbs index 56417c588c4..605ce97fca7 100644 --- a/app/assets/javascripts/discourse/templates/mobile/users.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/users.hbs @@ -1,6 +1,7 @@ {{#load-more selector=".directory .user" action="loadMore"}}
+ {{plugin-outlet name="users-top" connectorTagName='div' args=(hash model=model)}}
{{period-chooser period=period}} diff --git a/app/assets/javascripts/discourse/templates/users.hbs b/app/assets/javascripts/discourse/templates/users.hbs index 0fe4408dd76..bfe29fb340c 100644 --- a/app/assets/javascripts/discourse/templates/users.hbs +++ b/app/assets/javascripts/discourse/templates/users.hbs @@ -2,7 +2,7 @@ {{#load-more selector=".directory tbody tr" action="loadMore"}}
- + {{plugin-outlet name="users-top" connectorTagName='div' args=(hash model=model)}}
{{period-chooser period=period}} {{text-field value=nameInput placeholderKey="directory.filter_name" class="filter-name no-blur"}}