Move followable button to sidebar after social share buttons
This commit is contained in:
@@ -13,12 +13,6 @@
|
|||||||
<%= l investment.created_at.to_date %>
|
<%= l investment.created_at.to_date %>
|
||||||
<span class="bullet"> • </span>
|
<span class="bullet"> • </span>
|
||||||
<%= investment.heading.name %>
|
<%= investment.heading.name %>
|
||||||
|
|
||||||
<% if current_user %>
|
|
||||||
<span class="bullet"> • </span>
|
|
||||||
<%= render 'follows/followable_button', followable: investment %>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
@@ -118,6 +112,9 @@
|
|||||||
title: investment.title,
|
title: investment.title,
|
||||||
url: budget_investment_url(budget_id: investment.budget_id, id: investment.id)
|
url: budget_investment_url(budget_id: investment.budget_id, id: investment.id)
|
||||||
} %>
|
} %>
|
||||||
|
|
||||||
|
<%= render 'follows/followable_button', followable: investment if current_user %>
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -53,9 +53,6 @@
|
|||||||
<% if current_user %>
|
<% if current_user %>
|
||||||
<span class="bullet"> • </span>
|
<span class="bullet"> • </span>
|
||||||
<%= render 'proposals/flag_actions', proposal: @proposal %>
|
<%= render 'proposals/flag_actions', proposal: @proposal %>
|
||||||
|
|
||||||
<span class="bullet"> • </span>
|
|
||||||
<%= render 'follows/followable_button', followable: @proposal %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -142,6 +139,9 @@
|
|||||||
title: @proposal.title,
|
title: @proposal.title,
|
||||||
url: proposal_url(@proposal)
|
url: proposal_url(@proposal)
|
||||||
} %>
|
} %>
|
||||||
|
|
||||||
|
<%= render 'follows/followable_button', followable: @proposal if current_user %>
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user