chore: mark /aktualnosci route as deprecated, redirect links to /ogloszenia
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
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
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c63bcb065b
commit
ee2d6c71e8
@ -669,7 +669,8 @@ def search():
|
||||
@bp.route('/aktualnosci')
|
||||
@login_required
|
||||
def events():
|
||||
"""Company events and news - latest updates from member companies"""
|
||||
"""DEPRECATED (2026-03-12): Sekcja nieużywana, zastąpiona przez /ogloszenia (Announcements).
|
||||
Route zachowany dla kompatybilności wstecznej - nie rozwijać."""
|
||||
event_type_filter = request.args.get('type', '')
|
||||
company_id = request.args.get('company', type=int)
|
||||
page = request.args.get('page', 1, type=int)
|
||||
@ -1027,7 +1028,7 @@ def _get_releases():
|
||||
'date': '7 marca 2026',
|
||||
'badges': ['new', 'improve', 'fix'],
|
||||
'links': {
|
||||
'Sekcja Aktualności': '/aktualnosci',
|
||||
'Sekcja Aktualności': '/ogloszenia',
|
||||
'Ulepszona sztuczna inteligencja': '/chat',
|
||||
},
|
||||
'new': [
|
||||
@ -1631,7 +1632,7 @@ def _get_releases():
|
||||
'date': '26 stycznia 2026',
|
||||
'badges': ['new'],
|
||||
'links': {
|
||||
'Sekcja Aktualności': '/aktualnosci',
|
||||
'Sekcja Aktualności': '/ogloszenia',
|
||||
},
|
||||
'new': [
|
||||
'<strong>Sekcja Aktualności</strong> - wiadomości i ogłoszenia dla członków Izby',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user