mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
16 lines
483 B
Text
16 lines
483 B
Text
|
<%= if present?(@conn.params["hidden"]) do %>
|
||
|
<a href={@route.(Keyword.delete(@params, :hidden))} title="Hide Hidden Images">
|
||
|
<i class="fa fa-eye-slash"></i>
|
||
|
<span class="hide-mobile hide-limited-desktop">
|
||
|
Hide Hidden
|
||
|
</span>
|
||
|
</a>
|
||
|
<% else %>
|
||
|
<a href={@route.(Keyword.put(@params, :hidden, "1"))} title="Show Hidden Images">
|
||
|
<i class="fa fa-eye-slash"></i>
|
||
|
<span class="hide-mobile hide-limited-desktop">
|
||
|
Show Hidden
|
||
|
</span>
|
||
|
</a>
|
||
|
<% end %>
|