-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV: Refactor to remove topic-list template overrides
- Loading branch information
1 parent
39b7b56
commit 361787b
Showing
13 changed files
with
148 additions
and
208 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
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
25 changes: 25 additions & 0 deletions
25
javascripts/discourse/connectors/topic-list-after-category/ghost-additions.gjs
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 @@ | ||
import Component from "@glimmer/component"; | ||
import { service } from "@ember/service"; | ||
import icon from "discourse/helpers/d-icon"; | ||
import formatDate from "discourse/helpers/format-date"; | ||
import number from "discourse/helpers/number"; | ||
|
||
export default class GhostAdditionsComponent extends Component { | ||
@service site; | ||
|
||
<template> | ||
<div class="ghost-activity num"> | ||
{{formatDate @outletArgs.topic.bumpedAt format="tiny" noTitle="true"}} | ||
</div> | ||
|
||
<div class="ghost-replies num"> | ||
{{icon "far-comment"}} | ||
{{number @outletArgs.topic.replyCount noTitle="true"}} | ||
</div> | ||
|
||
<div class="ghost-views num"> | ||
{{icon "far-eye"}} | ||
{{number @outletArgs.topic.views numberKey="views_long"}} | ||
</div> | ||
</template> | ||
} |
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
javascripts/discourse/raw-templates/list/post-column-count.hbr
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
javascripts/discourse/raw-templates/list/topic-list-item.hbr
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
javascripts/discourse/raw-templates/mobile/list/topic-list-item.hbr
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.