mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 23:08:00 +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 %>
|