James Valleroy f5f687c8fd
diagnostics: Change "Re-run setup" to "Try to repair"
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Fix issue with formatting i18n message]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-05-02 21:48:57 -07:00

20 lines
570 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
URLs for the Diagnostics module
"""
from django.urls import re_path
from . import views
urlpatterns = [
re_path(r'^sys/diagnostics/$', views.DiagnosticsView.as_view(),
name='index'),
re_path(r'^sys/diagnostics/full/$', views.DiagnosticsFullView.as_view(),
name='full'),
re_path(r'^sys/diagnostics/(?P<app_id>[1-9a-z\-_]+)/$', views.diagnose_app,
name='app'),
re_path(r'^sys/diagnostics/repair/(?P<app_id>[1-9a-z\-_]+)/$',
views.repair, name='repair'),
]