wording
This commit is contained in:
parent
ef1996fd59
commit
971b29c91b
|
@ -5,7 +5,7 @@
|
|||
<link rel="stylesheet" href="{{ STATIC_URL }}authentic2/css/style.css" />
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}jquery/css/jquery-ui.custom.css" />
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}ulx/css/ulx.css" />
|
||||
<title>{% block title %}User test{% endblock %}</title>
|
||||
<title>{% block title %}Univnautes IdP — POC{% endblock %}</title>
|
||||
{{ openid_meta }}
|
||||
{% block extra_scripts %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Nouveau tenant</h1>
|
||||
<h1>Demande d'un nouveau fournisseur d'identités</h1>
|
||||
<p>
|
||||
Indiquer ci-dessous le nom du nouveau tenant choisi.<br />
|
||||
Utilisez uniquement des lettres minuscules, des chiffres et le trait d'union.
|
||||
|
|
|
@ -2,17 +2,17 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Gestion des tenants</h1>
|
||||
<h1>Fournisseurs d'identités disponibles</h1>
|
||||
<ul>
|
||||
{% for obj in object_list %}
|
||||
{% for obj in object_list|dictsort:"schema_name" %}
|
||||
{% if obj.schema_name != "public" %}
|
||||
<li><a href="//{{ obj.domain_url }}">{{ obj.domain_url }}</a> — tenant «{{obj}}»</li>
|
||||
<li>{{obj.schema_name}} : <a href="//{{ obj.domain_url }}">{{ obj.domain_url }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<h1>Demander un tenant</h1>
|
||||
<h1>Demander un nouveau fournisseur d'identités</h1>
|
||||
<p>
|
||||
<a href="/create/">Création d'un tenant</a>
|
||||
<a href="/create/">Création d'un fournisseur d'identités</a>
|
||||
</p>
|
||||
<h1>Administration</h1>
|
||||
<p>
|
||||
|
|
|
@ -8,6 +8,7 @@ CREATION_SCRIPT = '/home/thomas/univnautes-idp/create-dirty-tenant.py'
|
|||
|
||||
class TenantCreateForm(forms.Form):
|
||||
schema_name = forms.RegexField(regex='^[a-z0-9_-]+$',
|
||||
label='Nom',
|
||||
required=True,
|
||||
max_length=16)
|
||||
|
||||
|
|
Reference in New Issue