framework/ember/app/templates/components/discussion/post-renamed.hbs
Toby Zerner 011ae3603e Implement "renamed" posts
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.
2015-02-13 10:23:38 +10:30

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>