Commit a203a1a15985babe9a0866ea3069c6d4fc729eec
1 parent
43353033
Exists in
staging
and in
7 other branches
proposals_discussion: fix topic title in proposals
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
plugins/proposals_discussion/views/content_viewer/proposal.html.erb
| ... | ... | @@ -2,9 +2,10 @@ |
| 2 | 2 | <h5><%= @page.topic.discussion.title %> </h5> |
| 3 | 3 | </div> |
| 4 | 4 | |
| 5 | +<% extend ProposalsDiscussionPlugin::TopicHelper %> | |
| 6 | + | |
| 5 | 7 | <div class="topic"> |
| 6 | - <div class="topic-color" style="background-color: <%= @page.topic.color %>;"></div> | |
| 7 | - <h2><%= link_to @page.topic.title, @page.topic.view_url %></h2> | |
| 8 | + <%= topic_title @page.topic %> | |
| 8 | 9 | </div> |
| 9 | 10 | |
| 10 | 11 | <div class="title"> | ... | ... |