Don't show status actions unless logged in
This commit is contained in:
parent
4c9adb3336
commit
cf115c3f7c
|
@ -18,7 +18,9 @@
|
||||||
<div class="status-content e-content">
|
<div class="status-content e-content">
|
||||||
<%= raw(@note["content"]) %>
|
<%= raw(@note["content"]) %>
|
||||||
</div>
|
</div>
|
||||||
<div class="status-actions">
|
<%= unless is_nil(@conn.assigns[:user]) do %>
|
||||||
<a href="<%= Routes.frontend_path(@conn, :reply, @status.id) %>">Reply</a>
|
<div class="status-actions">
|
||||||
</div>
|
<a href="<%= Routes.frontend_path(@conn, :reply, @status.id) %>">Reply</a>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue