mirror of
https://github.com/flarum/framework.git
synced 2025-02-05 04:02:59 +08:00
011ae3603e
Record when the discussion was renamed, from what, and by whom. Information is stored in the `content` field as a serialised JSON object because proper polymorphism will be too difficult with Ember Data and especially when extensions try to add new post types.
8 lines
398 B
Handlebars
8 lines
398 B
Handlebars
{{partial "components/discussion/post-controls"}}
|
|
|
|
{{fa-icon "pencil" class="post-icon"}}
|
|
|
|
<div class="post-activity-info">{{#link-to "user" post.user class="post-user"}}{{post.user.username}}{{/link-to}} changed the title from <strong class="old-title">{{oldTitle}}</strong> to <strong class="new-title">{{newTitle}}</strong>.</div>
|
|
|
|
<div class="post-activity-time">{{human-time post.time}}</div>
|