home: remove franceconnect menu entry (#71958)

This commit is contained in:
Paul Marillonnet 2022-12-02 10:16:27 +01:00
parent 8d3d8a7db1
commit 7e6a13320b
8 changed files with 0 additions and 78 deletions

View File

@ -2,7 +2,6 @@ recursive-include hobo/static *.css *.scss *.png *.js *.svg
recursive-include hobo/templates *.html *.txt
recursive-include hobo/applications/templates *.html *.txt
recursive-include hobo/debug/templates *.html *.txt
recursive-include hobo/franceconnect/templates *.html *.txt
recursive-include hobo/profile/templates *.html *.txt
recursive-include hobo/seo/templates *.html *.txt
recursive-include hobo/theme/templates *.html *.txt

View File

@ -1,24 +0,0 @@
{% extends "hobo/base.html" %}
{% load i18n %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'franceconnect-home' %}">FranceConnect</a>
{% endblock %}
{% block appbar %}
<h2>{% trans 'FranceConnect' %}</h2>
{% endblock %}
{% block content %}
<div class="pk-information">
<p>
{% trans "FranceConnect configuration screen has been moved next to other authentication methods." %}
</p>
<p>
<a class="pk-button" href="{{ idp_url }}manage/authenticators/">{% trans "Go to authentication methods configuration screen" %}</a>
</p>
</div>
{% endblock %}

View File

@ -1,23 +0,0 @@
# hobo - portal to configure and deploy applications
# Copyright (C) 2015-2019 Entr'ouvert
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.urls import path
from . import views
urlpatterns = [
path('', views.home, name='franceconnect-home'),
]

View File

@ -1,24 +0,0 @@
# hobo - portal to configure and deploy applications
# Copyright (C) 2015-2019 Entr'ouvert
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.views.generic import TemplateView
class HomeView(TemplateView):
template_name = 'hobo/franceconnect_home.html'
home = HomeView.as_view()

View File

@ -46,7 +46,6 @@ INSTALLED_APPS = (
'hobo.applications',
'hobo.debug',
'hobo.environment',
'hobo.franceconnect',
'hobo.maintenance',
'hobo.matomo',
'hobo.profile',

View File

@ -111,9 +111,6 @@
{% endif %}
</a>
<a class="button button-paragraph" href="{% url 'sms-home' %}">{% trans 'SMS' %}</a>
{% if has_authentic %}
<a class="button button-paragraph" href="{% url 'franceconnect-home' %}">FranceConnect</a>
{% endif %}
<a class="button button-paragraph" href="{% url 'matomo-home' %}">{% trans 'User tracking' %}</a>
<a class="button button-paragraph" href="{% url 'seo-home' %}">{% trans 'Indexing' %}</a>
<a class="button button-paragraph" href="{% url 'environment-home' %}">{% trans 'Services' %}</a>

View File

@ -22,7 +22,6 @@ from .applications.urls import urlpatterns as applications_urls
from .debug.urls import urlpatterns as debug_urls
from .emails.urls import urlpatterns as emails_urls
from .environment.urls import urlpatterns as environment_urls
from .franceconnect.urls import urlpatterns as franceconnect_urls
from .maintenance.urls import urlpatterns as maintenance_urls
from .matomo.urls import urlpatterns as matomo_urls
from .profile.urls import urlpatterns as profile_urls
@ -38,7 +37,6 @@ urlpatterns = [
path('', home, name='home'),
re_path(r'^sites/', decorated_includes(admin_required, include(environment_urls))),
re_path(r'^profile/', decorated_includes(admin_required, include(profile_urls))),
re_path(r'^franceconnect/', decorated_includes(admin_required, include(franceconnect_urls))),
re_path(r'^visits-tracking/', decorated_includes(admin_required, include(matomo_urls))),
re_path(r'^theme/', decorated_includes(admin_required, include(theme_urls))),
re_path(r'^emails/', decorated_includes(admin_required, include(emails_urls))),