From 47453d6133e5cbeb7b083bab5fcd488116f2e296 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sun, 2 Jun 2013 18:28:33 -0400 Subject: [PATCH] challenges: simply display names of challenges in groups, with "visit the challenges tab for more info". --- views/app/groups.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/views/app/groups.html b/views/app/groups.html index 7fdbeb0939..22cb51a343 100644 --- a/views/app/groups.html +++ b/views/app/groups.html @@ -101,8 +101,8 @@ {{#if equal(@type,'guild')}}
- Public - Invite Only + Public + Invite Only
{{/}} @@ -231,15 +231,19 @@
- - {{#each @group.challenges as :challenge}} - - {{/}} -
- {{:challenge.name}} -
+ {#if @group.challenges} + + {#each @group.challenges as :challenge} + + {/} +
+ {:challenge.name} +
+ Visit the Challenges for more information. + {else} + No challenges yet, visit the Challenges tab to create one. + {/}
-