QLFW-91: показать сохранение, правку и удаление материалов

This commit is contained in:
peppa-bot 2026-11-25 17:20:07 +00:00
parent e88293ceb6
commit 2282b2e37c
33 changed files with 34 additions and 14 deletions

View File

@ -72,3 +72,4 @@
| Текст страницы контактов | Вводный текст страницы «Контакты» / «Байланыс» бетінің кіріспе мәтіні / Contacts page introduction | — | Текст под заголовком страницы на выбранном языке |
| Снимки панели | Работа в панели управления / Басқару панелінде жұмыс істеу / Using the site dashboard | — | Подборка снимков с проверочными материалами |
| Снимки входа | Вход в панель управления / Басқару панеліне кіру / Signing in to the dashboard | — | Форма входа, сообщение об ошибке и панель после входа |
| Снимки действий | Работа с материалами / Материалдармен жұмыс / Managing content; Перед сохранением / Сақтау алдында / Before saving; Правка сохранена в панели / Өзгеріс панельде сақталды / Edit saved in the dashboard; Подтверждение удаления / Өшіруді растау / Confirming deletion | — | Подписи к снимкам проекта, новости и события |

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -55,6 +55,7 @@ export default async function PanelEvidencePage({ params }: Props) {
</nav>
<h1 className="font-serif text-4xl text-burgundy sm:text-5xl">{t.title}</h1>
<p className="mt-4 max-w-2xl text-lg">{t.intro}</p>
<a href="#materials" className="mt-4 inline-block text-burgundy underline">{t.materials}</a>
</header>
<section id="login">
@ -66,20 +67,26 @@ export default async function PanelEvidencePage({ params }: Props) {
</div>
</section>
{materials.map((material) => (
<section key={material.kind}>
<h2 className="mb-4 font-serif text-3xl text-burgundy">{material.title}</h2>
<div className={grid}>
{material.kind === 'project' && <Shot file="04-photo-uploaded" label={t.photo} />}
<Shot file={`${material.added}-${locale}`} label={t.saved} />
<Shot file={`${material.published}-${locale}`} label={t.published} />
<Shot file={`${material.edited}-${locale}`} label={t.edited} />
<Shot file={`16-${material.kind}-deleted`} label={t.deleted} />
<Shot file={`17-${material.kind}-removed-${locale}`} label={t.missing} />
</div>
</section>
))}
<p>{t.deletion}</p>
<section id="materials" className="space-y-8">
<h2 className="font-serif text-3xl text-burgundy">{t.materials}</h2>
{materials.map((material) => (
<section key={material.kind}>
<h3 className="mb-4 font-serif text-2xl text-burgundy">{material.title}</h3>
<div className={grid}>
<Shot file={`before-save-${material.kind}-${locale}`} label={t.beforeSave} />
<Shot file={`${material.added}-${locale}`} label={t.saved} />
<Shot file={`${material.published}-${locale}`} label={t.published} />
<Shot file={`after-edit-${material.kind}-${locale}`} label={t.editSaved} />
<Shot file={`${material.edited}-${locale}`} label={t.edited} />
<Shot showFullImage file={`confirm-delete-${material.kind}`} label={t.confirmDelete} />
<Shot file={`16-${material.kind}-deleted`} label={t.deleted} />
<Shot file={`17-${material.kind}-removed-${locale}`} label={t.missing} />
{material.kind === 'project' && <Shot file="04-photo-uploaded" label={t.photo} />}
</div>
</section>
))}
<p>{t.deletion}</p>
</section>
<section>
<h2 className="mb-4 font-serif text-3xl text-burgundy">{t.about}</h2>

View File

@ -13,6 +13,10 @@ export const panelEvidence = {
projects: 'Проект «Выставка 2027»',
news: 'Новость «Открытие выставки»',
event: 'Событие «Встреча с художником»',
materials: 'Работа с материалами',
beforeSave: 'Перед сохранением',
editSaved: 'Правка сохранена в панели',
confirmDelete: 'Подтверждение удаления',
saved: 'Добавлено в панели',
published: 'Первая публикация на сайте',
edited: 'После правки на сайте',
@ -36,6 +40,10 @@ export const panelEvidence = {
projects: '«Көрме 2027» жобасы',
news: '«Көрменің ашылуы» жаңалығы',
event: '«Суретшімен кездесу» іс-шарасы',
materials: 'Материалдармен жұмыс',
beforeSave: 'Сақтау алдында',
editSaved: 'Өзгеріс панельде сақталды',
confirmDelete: 'Өшіруді растау',
saved: 'Панельде қосылды',
published: 'Сайттағы алғашқы жарияланым',
edited: 'Өңделгеннен кейін сайтта',
@ -59,6 +67,10 @@ export const panelEvidence = {
projects: 'Project “Exhibition 2027”',
news: 'News “Exhibition opening”',
event: 'Event “Meet the artist”',
materials: 'Managing content',
beforeSave: 'Before saving',
editSaved: 'Edit saved in the dashboard',
confirmDelete: 'Confirming deletion',
saved: 'Added in the dashboard',
published: 'First published version',
edited: 'Website after editing',