Remove recommendations editing a topic

The same way we don't show recommendations when editing a proposal or a
debate.
This commit is contained in:
Javi Martín
2021-07-10 18:12:59 +02:00
parent 578f3437da
commit cb800d0f38
3 changed files with 7 additions and 12 deletions

View File

@@ -1,7 +0,0 @@
<h2><%= t("community.topic.sidebar.recommendations_title") %></h2>
<ul class="recommendations">
<li><%= t("community.topic.sidebar.recommendation_one") %></li>
<li><%= t("community.topic.sidebar.recommendation_two") %></li>
<li><%= t("community.topic.sidebar.recommendation_three") %></li>
</ul>

View File

@@ -5,8 +5,4 @@
<h1><%= t("community.topic.edit") %></h1>
<%= render "form" %>
</div>
<div class="small-12 medium-3 column">
<%= render "recommendations" %>
</div>
</div>

View File

@@ -7,6 +7,12 @@
</div>
<div class="small-12 medium-3 column">
<%= render "recommendations" %>
<h2><%= t("community.topic.sidebar.recommendations_title") %></h2>
<ul class="recommendations">
<li><%= t("community.topic.sidebar.recommendation_one") %></li>
<li><%= t("community.topic.sidebar.recommendation_two") %></li>
<li><%= t("community.topic.sidebar.recommendation_three") %></li>
</ul>
</div>
</div>