mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Derive DNP types from reasons (#81)
* derive dnp types from reasons * improve styling
This commit is contained in:
parent
306f4521e5
commit
7c1f5c5095
1 changed files with 2 additions and 9 deletions
|
@ -58,15 +58,8 @@ defmodule Philomena.DnpEntries.DnpEntry do
|
||||||
do: changeset
|
do: changeset
|
||||||
|
|
||||||
def types do
|
def types do
|
||||||
[
|
reasons()
|
||||||
"No Edits",
|
|> Enum.map(fn {title, _desc} -> title end)
|
||||||
"Artist Tag Change",
|
|
||||||
"Uploader Credit Change",
|
|
||||||
"Certain Type/Location Only",
|
|
||||||
"With Permission Only",
|
|
||||||
"Artist Upload Only",
|
|
||||||
"Other"
|
|
||||||
]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def reasons do
|
def reasons do
|
||||||
|
|
Loading…
Reference in a new issue