update both the title & the category when editing the first post
using the "edit this post" action beneath the post.
This commit is contained in:
parent
af865ee223
commit
ccb715fba3
|
@ -17,7 +17,7 @@
|
||||||
<h1>
|
<h1>
|
||||||
{{#if view.topic.fancy_title}}
|
{{#if view.topic.fancy_title}}
|
||||||
{{view Discourse.TopicStatusView topicBinding="view.topic"}}
|
{{view Discourse.TopicStatusView topicBinding="view.topic"}}
|
||||||
<a href='{{unbound view.topic.url}}'>{{{unbound view.topic.fancy_title}}}</a>
|
<a href='{{unbound view.topic.url}}'>{{{view.topic.fancy_title}}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if view.topic.errorLoading}}
|
{{#if view.topic.errorLoading}}
|
||||||
{{view.topic.errorTitle}}
|
{{view.topic.errorTitle}}
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
{{i18n topic.loading}}
|
{{i18n topic.loading}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{categoryLink view.topic.category}}
|
{{#bind view.topic.category}}{{categoryLink this}}{{/bind}}
|
||||||
|
|
||||||
{{#if view.topic.can_edit}}
|
{{#if view.topic.can_edit}}
|
||||||
<a href='#' {{action editTopic target="view"}} class='edit-topic' title='{{i18n edit}}'><i class="icon-pencil"></i></a>
|
<a href='#' {{action editTopic target="view"}} class='edit-topic' title='{{i18n edit}}'><i class="icon-pencil"></i></a>
|
||||||
|
|
Loading…
Reference in New Issue