File tree Expand file tree Collapse file tree 3 files changed +32
-9
lines changed Expand file tree Collapse file tree 3 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 1010 </div >
1111
1212 <form class =" ui form {{ if this.isLoading ' loading' }} " >
13+ <div class =" field mt-4" >
14+ <label >{{ t ' About' }} </label >
15+ <Widgets::Forms::RichTextEditor
16+ @value ={{ @group.about }}
17+ @name =" description" />
18+ </div >
1319 <div class =" fields" >
1420 <div class =" fifteen wide field" >
1521 <Widgets::Forms::ImageUpload
Original file line number Diff line number Diff line change 3333 {{ /if }}
3434 {{ /each }}
3535 </div >
36+ {{ #if @group.about }}
37+ <br >
38+ <div class =" description" >
39+ {{ sanitize @group.about }}
40+ </div >
41+ <br >
42+ {{ /if }}
3643 {{ #if this.upcomingEvents }}
3744 <h2 class =" main-heading mb-4" >{{ t ' Upcoming Events' }} </h2 >
3845 <div class =" ui stackable three column grid" >
3946 {{ #each this.upcomingEvents as |event |}}
4047 <EventCard @event ={{ event }} @shareEvent ={{ action " shareEvent" }} />
4148 {{ /each }}
4249 </div >
50+ {{ #if this.upcomingEvents }}
51+ <h2 class =" main-heading mb-4" >{{ t ' Upcoming Events' }} </h2 >
52+ <div class =" ui stackable three column grid" >
53+ {{ #each this.upcomingEvents as |event |}}
54+ <EventCard @event ={{ event }} @shareEvent ={{ action " shareEvent" }} />
55+ {{ /each }}
56+ </div >
57+ {{ /if }}
58+ {{ #if this.pastEvents }}
59+ <h2 class =" main-heading mb-4" >{{ t ' Past Events' }} </h2 >
60+ <div class =" ui stackable three column grid" >
61+ {{ #each this.pastEvents as |event |}}
62+ <EventCard @event ={{ event }} @shareEvent ={{ action " shareEvent" }} />
63+ {{ /each }}
64+ </div >
65+ {{ /if }}
4366 {{ /if }}
4467 {{ #if this.pastEvents }}
4568 <h2 class =" main-heading mb-4" >{{ t ' Past Events' }} </h2 >
Original file line number Diff line number Diff line change 1212 <div class =" header mb-1" >
1313 <a href ={{ href-to ' groups.view' @group.id }} class =" black-text" >{{ @group.name }} </a >
1414 </div >
15+ <div class =" meta mb-2" >
16+ {{ @group.about }}
17+ </div >
1518 {{ #if (not @followedGroups )}}
1619 <LinkTo @route =" groups.team" @model ={{ @group.id }} >
1720 <UiPopup @content ={{ t " Manage" }} @class =" ml-2 ui circular icon button compact blue" @position =" left center" >
2629 <button class =" ml-2 ui circular icon button compact red" {{ action (confirm (t " Are you sure you would like to delete this group?" ) (action @deleteGroup @group.id ))}} ><i class =" trash icon" ></i ></button >
2730 {{ /if }}
2831 </div >
29- <div class =" meta" >
30- <span class =" time" >
31- {{ general-date @group.modifieddAt ' date-time-short' }}
32- </span >
33- <br >
34- {{ #each @group.events as |event |}}
35- <a href =" {{ event.url }} " target =" _blank" rel =" noopener" class =" ui blue basic compact button" >{{ event.name }} </a >
36- {{ /each }}
37- </div >
3832 </div >
3933 </div >
4034</div >
You can’t perform that action at this time.
0 commit comments