2019-12-18 01:42:50 +01:00
|
|
|
- del = @conn.params["del"]
|
|
|
|
|
2023-11-23 17:07:49 +01:00
|
|
|
.button__group--standalone.button__group--warning
|
|
|
|
= if blank?(del) do
|
|
|
|
a.js-staff-action href=@route.(Keyword.put(@params, :del, 1)) title="Include Deleted/Merged Images"
|
|
|
|
i.fa.fa-plus
|
|
|
|
i.fa.fa-exclamation>
|
|
|
|
span.hidden--mobile Show Deleted
|
2019-12-18 01:42:50 +01:00
|
|
|
|
2023-11-23 17:07:49 +01:00
|
|
|
= if del != "only" do
|
|
|
|
a.js-staff-action href=@route.(Keyword.put(@params, :del, "only")) title="Only Deleted/Merged Images"
|
|
|
|
i.fa.fa-minus
|
|
|
|
i.fa.fa-check>
|
|
|
|
span.hidden--mobile Only Deleted
|
2019-12-18 01:42:50 +01:00
|
|
|
|
2023-11-23 17:07:49 +01:00
|
|
|
= if del == "only" do
|
|
|
|
a.js-staff-action href=@route.(Keyword.put(@params, :del, 1)) title="Include Images Visible to Users"
|
|
|
|
i.fa.fa-plus
|
|
|
|
i.fa.fa-check>
|
|
|
|
span.hidden--mobile Show Non-Deleted
|
2019-12-18 01:42:50 +01:00
|
|
|
|
2023-11-23 17:07:49 +01:00
|
|
|
= if present?(del) do
|
|
|
|
a.js-staff-action href=@route.(Keyword.delete(@params, :del)) title="Hide Deleted/Merged Images"
|
|
|
|
i.fa.fa-minus
|
|
|
|
i.fa.fa-exclamation>
|
|
|
|
span.hidden--mobile Hide Deleted
|
2019-12-19 23:39:34 +01:00
|
|
|
|
2023-11-23 17:07:49 +01:00
|
|
|
= if present?(del) and del != "deleted" do
|
|
|
|
a.js-staff-action href=@route.(Keyword.put(@params, :del, "deleted")) title="Only Deleted (Strict)"
|
|
|
|
i.fa.fa-minus
|
|
|
|
i.fa.fa-object-group>
|
|
|
|
span.hidden--mobile Exclude Merges
|