The Do-Not-Post (DNP) List

<% # Information block %>

Information

About

This is a list of artists who have asked us to place a restriction on the uploading of their artwork. These restrictions can include anything from requesting that no edits of their work be allowed, to requesting that no uploads be allowed unless uploaded by the artists themselves.

We ask that you please respect the wishes of artists in regards to their artworks, and check the list before uploading. Note that just because an artist is not listed may not mean that their artwork is ok to post, especially if they have a note at their "source" that they do not wish for their artwork to be reposted.


Manage My Listings
<%= cond do %> <% not is_nil(@current_user) and Enum.any?(@linked_tags) -> %> <%= link("Create an entry", to: ~p"/dnp/new") %>
<%= link("My Listings", to: ~p"/dnp?#{[mine: "1"]}") %> <% not is_nil(@current_user) -> %> You must have a verified artist link to create and manage DNP entries. <%= link("Request an artist link", to: ~p"/profiles/#{@current_user}/artist_links/new") %> . <% true -> %> You must be logged in and have a verified artist link to create and manage DNP entries. <% end %>

The List

<% route = fn p -> ~p"/dnp?#{p}" end %> <% pagination = render(PhilomenaWeb.PaginationView, "_pagination.html", page: @dnp_entries, route: route, conn: @conn) %>
<%= if @status_column do %> <% end %> <%= for {body, entry} <- @dnp_entries do %> <%= if @status_column do %> <% end %> <% end %>
Tag Restriction Conditions Status Created Options
<%= render(PhilomenaWeb.TagView, "_tag.html", tag: entry.tag, conn: @conn) %> <%= entry.dnp_type %> <%= body %> <%= pretty_state(entry) %> <%= pretty_time(entry.created_at) %> <%= link("More Info", to: ~p"/dnp/#{entry}") %>