fix: back links in messages point to new conversations page
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions

All "Powrót do wiadomości" links in compose, view, sent, and group_compose
templates now point to messages.conversations_page instead of legacy
messages_inbox.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-04-10 14:32:16 +02:00
parent 0623e267b7
commit e0e0ea2cf6
4 changed files with 6 additions and 6 deletions

View File

@ -287,7 +287,7 @@
{% block content %} {% block content %}
<div class="compose-container"> <div class="compose-container">
<div style="display: flex; align-items: center; gap: var(--spacing-lg); flex-wrap: wrap; margin-bottom: var(--spacing-lg);"> <div style="display: flex; align-items: center; gap: var(--spacing-lg); flex-wrap: wrap; margin-bottom: var(--spacing-lg);">
<a href="{{ url_for('messages_inbox') }}" class="back-link" style="margin-bottom: 0;"> <a href="{{ url_for('messages.conversations_page') }}" class="back-link" style="margin-bottom: 0;">
<svg width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"> <svg width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path d="M19 12H5M12 19l-7-7 7-7"/> <path d="M19 12H5M12 19l-7-7 7-7"/>
</svg> </svg>
@ -398,7 +398,7 @@
<div class="form-actions"> <div class="form-actions">
<button type="submit" class="btn btn-primary">Wyslij</button> <button type="submit" class="btn btn-primary">Wyslij</button>
<a href="{{ url_for('messages_inbox') }}" class="btn btn-secondary">Anuluj</a> <a href="{{ url_for('messages.conversations_page') }}" class="btn btn-secondary">Anuluj</a>
{% if recipient and recipient.email and recipient.privacy_show_email != False %} {% if recipient and recipient.email and recipient.privacy_show_email != False %}
<a href="mailto:{{ recipient.email }}" class="btn btn-secondary" style="margin-left: auto; display: inline-flex; align-items: center; gap: 6px;"> <a href="mailto:{{ recipient.email }}" class="btn btn-secondary" style="margin-left: auto; display: inline-flex; align-items: center; gap: 6px;">
<svg width="16" height="16" fill="currentColor" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg> <svg width="16" height="16" fill="currentColor" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>

View File

@ -315,7 +315,7 @@
{% block content %} {% block content %}
<div class="compose-container"> <div class="compose-container">
<a href="{{ url_for('messages_inbox') }}" class="back-link"> <a href="{{ url_for('messages.conversations_page') }}" class="back-link">
<svg width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"> <svg width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path d="M19 12H5M12 19l-7-7 7-7"/> <path d="M19 12H5M12 19l-7-7 7-7"/>
</svg> </svg>
@ -377,7 +377,7 @@
<div class="form-actions"> <div class="form-actions">
<button type="submit" class="btn btn-primary">Utworz grupe</button> <button type="submit" class="btn btn-primary">Utworz grupe</button>
<a href="{{ url_for('messages_inbox') }}" class="btn btn-secondary">Anuluj</a> <a href="{{ url_for('messages.conversations_page') }}" class="btn btn-secondary">Anuluj</a>
</div> </div>
</form> </form>
</div> </div>

View File

@ -310,7 +310,7 @@
<div class="messages-topbar"> <div class="messages-topbar">
<h1>Wiadomości</h1> <h1>Wiadomości</h1>
<div class="messages-tabs"> <div class="messages-tabs">
<a href="{{ url_for('messages_inbox') }}" class="tab-link">Odebrane</a> <a href="{{ url_for('messages.conversations_page') }}" class="tab-link">Odebrane</a>
<a href="{{ url_for('messages_sent') }}" class="tab-link active">Wysłane</a> <a href="{{ url_for('messages_sent') }}" class="tab-link active">Wysłane</a>
</div> </div>
<a href="{{ url_for('messages_new') }}" class="btn btn-primary btn-sm">Nowa wiadomość</a> <a href="{{ url_for('messages_new') }}" class="btn btn-primary btn-sm">Nowa wiadomość</a>

View File

@ -401,7 +401,7 @@
{% block content %} {% block content %}
<div class="message-container"> <div class="message-container">
<a href="{{ url_for('messages_inbox') }}" class="back-link"> <a href="{{ url_for('messages.conversations_page') }}" class="back-link">
<svg width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"> <svg width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path d="M19 12H5M12 19l-7-7 7-7"/> <path d="M19 12H5M12 19l-7-7 7-7"/>
</svg> </svg>