Commit 4059e2cec6c99a055cbdc2d5b8aaa08c585ef4c2
1 parent
1c9f868b
Exists in
master
and in
11 other branches
proposals_discussion: fix topic title in proposals
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
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"> | ... | ... |