-
Notifications
You must be signed in to change notification settings - Fork 26
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
596e1f7
commit cac6557
Showing
15 changed files
with
302 additions
and
311 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{{#if siteSettings.enable_emoji}} | ||
<div title={{titleText}}> | ||
{{#each emojiHTML as |html|}} | ||
{{#if this.siteSettings.enable_emoji}} | ||
<div title={{this.titleText}}> | ||
{{#each this.emojiHTML as |html|}} | ||
{{html-safe html}} | ||
{{/each}} | ||
</div> | ||
{{else}} | ||
{{d-icon "birthday-cake" title=titleText}} | ||
{{d-icon "birthday-cake" title=this.titleText}} | ||
{{/if}} |
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
8 changes: 4 additions & 4 deletions
8
assets/javascripts/discourse/templates/cakeday/anniversaries/today.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<h2 class="cakeday-header">{{title}}</h2> | ||
<h2 class="cakeday-header">{{this.title}}</h2> | ||
|
||
<LoadMore @selector=".user-info" @action={{action "loadMore"}}> | ||
<ConditionalLoadingSpinner @condition={{model.loading}}> | ||
<UserInfoList @users={{model}}> | ||
<ConditionalLoadingSpinner @condition={{this.model.loading}}> | ||
<UserInfoList @users={{this.model}}> | ||
{{i18n "anniversaries.today.empty"}} | ||
</UserInfoList> | ||
</ConditionalLoadingSpinner> | ||
|
||
<ConditionalLoadingSpinner @condition={{model.loadingMore}} /> | ||
<ConditionalLoadingSpinner @condition={{this.model.loadingMore}} /> | ||
</LoadMore> |
8 changes: 4 additions & 4 deletions
8
assets/javascripts/discourse/templates/cakeday/anniversaries/tomorrow.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<h2 class="cakeday-header">{{title}}</h2> | ||
<h2 class="cakeday-header">{{this.title}}</h2> | ||
|
||
<LoadMore @selector=".user-info" @action={{action "loadMore"}}> | ||
<ConditionalLoadingSpinner @condition={{model.loading}}> | ||
<UserInfoList @users={{model}}> | ||
<ConditionalLoadingSpinner @condition={{this.model.loading}}> | ||
<UserInfoList @users={{this.model}}> | ||
{{i18n "anniversaries.tomorrow.empty"}} | ||
</UserInfoList> | ||
</ConditionalLoadingSpinner> | ||
|
||
<ConditionalLoadingSpinner @condition={{model.loadingMore}} /> | ||
<ConditionalLoadingSpinner @condition={{this.model.loadingMore}} /> | ||
</LoadMore> |
8 changes: 4 additions & 4 deletions
8
assets/javascripts/discourse/templates/cakeday/anniversaries/upcoming.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<h2 class="cakeday-header">{{title}}</h2> | ||
<h2 class="cakeday-header">{{this.title}}</h2> | ||
|
||
<LoadMore @selector=".user-info" @action={{action "loadMore"}}> | ||
<ConditionalLoadingSpinner @condition={{model.loading}}> | ||
<UserInfoList @users={{model}}> | ||
<ConditionalLoadingSpinner @condition={{this.model.loading}}> | ||
<UserInfoList @users={{this.model}}> | ||
{{i18n "anniversaries.upcoming.empty"}} | ||
</UserInfoList> | ||
</ConditionalLoadingSpinner> | ||
|
||
<ConditionalLoadingSpinner @condition={{model.loadingMore}} /> | ||
<ConditionalLoadingSpinner @condition={{this.model.loadingMore}} /> | ||
</LoadMore> |
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
8 changes: 4 additions & 4 deletions
8
assets/javascripts/discourse/templates/cakeday/birthdays/today.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<h2 class="cakeday-header">{{title}}</h2> | ||
<h2 class="cakeday-header">{{this.title}}</h2> | ||
|
||
<LoadMore @selector=".user-info" @action={{action "loadMore"}}> | ||
<ConditionalLoadingSpinner @condition={{model.loading}}> | ||
<UserInfoList @users={{model}} @isBirthday={{true}}> | ||
<ConditionalLoadingSpinner @condition={{this.model.loading}}> | ||
<UserInfoList @users={{this.model}} @isBirthday={{true}}> | ||
{{i18n "birthdays.today.empty"}} | ||
</UserInfoList> | ||
</ConditionalLoadingSpinner> | ||
|
||
<ConditionalLoadingSpinner @condition={{model.loadingMore}} /> | ||
<ConditionalLoadingSpinner @condition={{this.model.loadingMore}} /> | ||
</LoadMore> |
8 changes: 4 additions & 4 deletions
8
assets/javascripts/discourse/templates/cakeday/birthdays/tomorrow.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<h2 class="cakeday-header">{{title}}</h2> | ||
<h2 class="cakeday-header">{{this.title}}</h2> | ||
|
||
<LoadMore @selector=".user-info" @action={{action "loadMore"}}> | ||
<ConditionalLoadingSpinner @condition={{model.loading}}> | ||
<UserInfoList @users={{model}} @isBirthday={{true}}> | ||
<ConditionalLoadingSpinner @condition={{this.model.loading}}> | ||
<UserInfoList @users={{this.model}} @isBirthday={{true}}> | ||
{{i18n "birthdays.tomorrow.empty"}} | ||
</UserInfoList> | ||
</ConditionalLoadingSpinner> | ||
|
||
<ConditionalLoadingSpinner @condition={{model.loadingMore}} /> | ||
<ConditionalLoadingSpinner @condition={{this.model.loadingMore}} /> | ||
</LoadMore> |
8 changes: 4 additions & 4 deletions
8
assets/javascripts/discourse/templates/cakeday/birthdays/upcoming.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<h2 class="cakeday-header">{{title}}</h2> | ||
<h2 class="cakeday-header">{{this.title}}</h2> | ||
|
||
<LoadMore @selector=".user-info" @action={{action "loadMore"}}> | ||
<ConditionalLoadingSpinner @condition={{model.loading}}> | ||
<UserInfoList @users={{model}} @isBirthday={{true}}> | ||
<ConditionalLoadingSpinner @condition={{this.model.loading}}> | ||
<UserInfoList @users={{this.model}} @isBirthday={{true}}> | ||
{{i18n "birthdays.upcoming.empty"}} | ||
</UserInfoList> | ||
</ConditionalLoadingSpinner> | ||
|
||
<ConditionalLoadingSpinner @condition={{model.loadingMore}} /> | ||
<ConditionalLoadingSpinner @condition={{this.model.loadingMore}} /> | ||
</LoadMore> |
17 changes: 10 additions & 7 deletions
17
assets/javascripts/discourse/templates/connectors/user-card-post-names/user-card-cakeday.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{{#if siteSettings.cakeday_birthday_enabled}} | ||
{{#if isBirthday}} | ||
{{#if this.siteSettings.cakeday_birthday_enabled}} | ||
{{#if this.isBirthday}} | ||
<EmojiImages | ||
@list={{siteSettings.cakeday_birthday_emoji}} | ||
@title={{birthdayTitle}} | ||
@list={{this.siteSettings.cakeday_birthday_emoji}} | ||
@title={{this.birthdayTitle}} | ||
/> | ||
{{/if}} | ||
{{/if}} | ||
{{#if siteSettings.cakeday_enabled}} | ||
{{#if isCakeday}} | ||
<EmojiImages @list={{siteSettings.cakeday_emoji}} @title={{cakedayTitle}} /> | ||
{{#if this.siteSettings.cakeday_enabled}} | ||
{{#if this.isCakeday}} | ||
<EmojiImages | ||
@list={{this.siteSettings.cakeday_emoji}} | ||
@title={{this.cakedayTitle}} | ||
/> | ||
{{/if}} | ||
{{/if}} |
14 changes: 7 additions & 7 deletions
14
...ripts/discourse/templates/connectors/user-custom-preferences/user-date-of-birth-input.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
17 changes: 10 additions & 7 deletions
17
assets/javascripts/discourse/templates/connectors/user-post-names/user-cakeday.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{{#if siteSettings.cakeday_birthday_enabled}} | ||
{{#if isBirthday}} | ||
{{#if this.siteSettings.cakeday_birthday_enabled}} | ||
{{#if this.isBirthday}} | ||
<EmojiImages | ||
@list={{siteSettings.cakeday_birthday_emoji}} | ||
@title={{birthdayTitle}} | ||
@list={{this.siteSettings.cakeday_birthday_emoji}} | ||
@title={{this.birthdayTitle}} | ||
/> | ||
{{/if}} | ||
{{/if}} | ||
{{#if siteSettings.cakeday_enabled}} | ||
{{#if isCakeday}} | ||
<EmojiImages @list={{siteSettings.cakeday_emoji}} @title={{cakedayTitle}} /> | ||
{{#if this.siteSettings.cakeday_enabled}} | ||
{{#if this.isCakeday}} | ||
<EmojiImages | ||
@list={{this.siteSettings.cakeday_emoji}} | ||
@title={{this.cakedayTitle}} | ||
/> | ||
{{/if}} | ||
{{/if}} |
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
Oops, something went wrong.