mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-31 00:37:45 +02:00
Trying to expand tag menu
This commit is contained in:
parent
41db8d8e00
commit
249435cd15
2 changed files with 6 additions and 2 deletions
|
@ -13,6 +13,10 @@
|
||||||
= link "Usage", to: Routes.tag_detail_path(@conn, :index, @tag), class: "detail-link"
|
= link "Usage", to: Routes.tag_detail_path(@conn, :index, @tag), class: "detail-link"
|
||||||
= if manages_dnp?(@conn) do
|
= if manages_dnp?(@conn) do
|
||||||
= link "Create new DNP entry", to: Routes.dnp_entry_path(@conn, :new, tag_id: @tag.id), class: "detail-link"
|
= link "Create new DNP entry", to: Routes.dnp_entry_path(@conn, :new, tag_id: @tag.id), class: "detail-link"
|
||||||
|
= if manages_tags?(@conn) do
|
||||||
|
= link "Edit spoiler image", to: Routes.tag_image_path(@conn, :edit, @tag)
|
||||||
|
= if can?(@conn, :alias, @tag) do
|
||||||
|
= link "Edit aliases", to: Routes.tag_alias_path(@conn, :edit, @tag)
|
||||||
|
|
||||||
br
|
br
|
||||||
|
|
||||||
|
|
|
@ -44,10 +44,10 @@ br
|
||||||
label for="tag-management" Tag Processing
|
label for="tag-management" Tag Processing
|
||||||
.toggle-box-container
|
.toggle-box-container
|
||||||
.toggle-box-container__content
|
.toggle-box-container__content
|
||||||
= button_to "Rebuild index", Routes.tag_reindex_path(@conn, :create, @tag), method: "post", class: "button", data: [confirm: "Are you really, really sure?", disable_with: raw("Reindexing…")]
|
= button_to "Rebuild index", Routes.tag_reindex_path(@conn, :create, @tag), method: "post", class: "button", data: [confirm: "Is chu weawwy~ weawwy suwe?", disable_with: raw("Reindexing…")]
|
||||||
p Use this if the tag displays the wrong number of images or returns the wrong search results.
|
p Use this if the tag displays the wrong number of images or returns the wrong search results.
|
||||||
|
|
||||||
= button_to "Destroy tag", Routes.tag_path(@conn, :delete, @tag), method: "delete", class: "button button--state-danger", data: [confirm: "Are you really, really sure?", disable_with: raw("Deleting…")]
|
= button_to "Destroy tag", Routes.tag_path(@conn, :delete, @tag), method: "delete", class: "button button--state-danger", data: [confirm: "Is chu weawwy~ weawwy suwe?", disable_with: raw("Deleting…")]
|
||||||
p
|
p
|
||||||
strong Irreversible. Use with extreme caution!
|
strong Irreversible. Use with extreme caution!
|
||||||
ul
|
ul
|
||||||
|
|
Loading…
Add table
Reference in a new issue