From 215d955e30475d149531d4089403704facb0c33c Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 16 Mar 2018 16:58:42 +0800 Subject: [PATCH] UX: Add a back link to groups page on group page. --- app/assets/javascripts/discourse/templates/group.hbs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/javascripts/discourse/templates/group.hbs b/app/assets/javascripts/discourse/templates/group.hbs index 909c3f6e152..dfb900b91ed 100644 --- a/app/assets/javascripts/discourse/templates/group.hbs +++ b/app/assets/javascripts/discourse/templates/group.hbs @@ -1,5 +1,12 @@ {{plugin-outlet name="before-group-container" args=(hash group=model)}} +{{#link-to "groups"}} + {{d-icon 'arrow-left'}} + {{i18n "groups.index.title"}} +{{/link-to}} + +
+