-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f95223c
commit 05f9553
Showing
11 changed files
with
73 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
assets/javascripts/discourse/connectors/topic-list-after-title/topic-list-event-rsvp.hbr
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
assets/javascripts/discourse/connectors/topic-list-before-status/topic-list-event-label.hbr
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
assets/javascripts/discourse/connectors/topic-list-main-link-bottom/topic-list-event.hbr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{{#if context.topic.event}} | ||
<div class="topic-list-item-event"> | ||
<div class="topic-list-item-event-time"> | ||
<a | ||
href={{context.topic.lastUnreadUrl}} | ||
class="{{context.topic.topicListItemClasses}}" | ||
> | ||
{{event-label context.topic.event list="true"}} | ||
</a> | ||
</div> | ||
{{#if context.siteSettings.events_rsvp}} | ||
{{#if context.topic.event.rsvp}} | ||
<div class="topic-list-item-event-rsvp"> | ||
<a | ||
href={{context.topic.lastUnreadUrl}} | ||
class={{context.topic.topicListItemClasses}} | ||
> | ||
<span>{{context.topic.event_going_total}}</span> | ||
<span>{{i18n "event_rsvp.going.label"}}</span> | ||
</a> | ||
</div> | ||
{{/if}} | ||
{{/if}} | ||
</div> | ||
{{/if}} |
4 changes: 1 addition & 3 deletions
4
assets/javascripts/discourse/connectors/topic-title/event-details.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# frozen_string_literal: true | ||
# name: discourse-events | ||
# about: Allows you to manage events in Discourse | ||
# version: 0.5.2 | ||
# version: 0.5.3 | ||
# authors: Angus McLeod | ||
# contact_emails: [email protected] | ||
# url: https://github.com/paviliondev/discourse-events | ||
|