mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 14:17:59 +01:00
add new button for mod notes
This commit is contained in:
parent
0fa10103f8
commit
8a37696915
3 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,7 @@ article.block.communication
|
|||
= if assigns[:mod_notes] do
|
||||
h4 Mod Notes
|
||||
= render PhilomenaWeb.Admin.ModNoteView, "_table.html", mod_notes: @mod_notes, conn: @conn
|
||||
= link "Add New Note", to: Routes.admin_mod_note_path(@conn, :new, notable_id: @report.id, notable_type: "Report")
|
||||
|
||||
p
|
||||
= if @report.user do
|
||||
|
|
|
@ -53,3 +53,4 @@ h2
|
|||
= if assigns[:mod_notes] do
|
||||
h4 Mod Notes
|
||||
= render PhilomenaWeb.Admin.ModNoteView, "_table.html", mod_notes: @mod_notes, conn: @conn
|
||||
= link "Add New Note", to: Routes.admin_mod_note_path(@conn, :new, notable_id: @dnp_entry.id, notable_type: "DnpEntry")
|
||||
|
|
|
@ -4,6 +4,7 @@ h2
|
|||
|
||||
h4 Mod Notes
|
||||
= render PhilomenaWeb.Admin.ModNoteView, "_table.html", mod_notes: @mod_notes, conn: @conn
|
||||
= link "Add New Note", to: Routes.admin_mod_note_path(@conn, :new, notable_id: @user.id, notable_type: "User")
|
||||
|
||||
h4 Name History
|
||||
table.table
|
||||
|
|
Loading…
Reference in a new issue