|
|
@@ -141,6 +141,11 @@ export default function AdminModerationPage() {
|
|
|
<h3 className="mb-1 text-lg font-medium text-white">{place.title}</h3>
|
|
|
{place.address && <p className="mb-2 text-sm text-white/40">{place.address}</p>}
|
|
|
{place.description && <p className="mb-3 text-sm text-white/60">{place.description}</p>}
|
|
|
+ <div className="mb-3 flex flex-wrap gap-x-4 gap-y-1 text-xs text-white/40">
|
|
|
+ <span>Создано: {new Date(place.created_at).toLocaleDateString('ru-RU', { day: 'numeric', month: 'short', year: 'numeric', hour: '2-digit', minute: '2-digit' })}</span>
|
|
|
+ <span>Изменено: {new Date(place.updated_at).toLocaleDateString('ru-RU', { day: 'numeric', month: 'short', year: 'numeric', hour: '2-digit', minute: '2-digit' })}</span>
|
|
|
+ <span>Правок: {place.version}</span>
|
|
|
+ </div>
|
|
|
{place.moderation_comment && (
|
|
|
<p className="mb-3 rounded bg-yellow-500/10 px-3 py-2 text-sm text-yellow-400">
|
|
|
Комментарий модератора: {place.moderation_comment}
|