diff --git a/lib/Lacuna/Web/Admin.pm b/lib/Lacuna/Web/Admin.pm index 8303cc94..a89783c2 100644 --- a/lib/Lacuna/Web/Admin.pm +++ b/lib/Lacuna/Web/Admin.pm @@ -963,6 +963,16 @@ sub www_view_empire { $out .= sprintf('Isolationist%sToggle', $empire->is_isolationist, $empire->id); $out .= sprintf('Admin%s', $empire->is_admin); $out .= sprintf('Mission Curator%sToggle', $empire->is_mission_curator, $empire->id); + + my $notes = Lacuna->db->resultset('Log::EmpireAdminNotes')->find({empire_id => $empire->id},{order_by => { -desc => 'id' }, limit => 1 }); + $out .= sprintf('Admin Notes
Last set by: %s
Last set on: %s
View Log', + $empire->id, + $notes ? $notes->notes : '', + $notes ? $notes->creator : 'not set yet', + $notes ? $notes->date_stamp : 'not set yet', + $empire->id + ); + $out .= '