Verified Commit 2db4e190 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

Merge branch 'wizard' of salsa.debian.org:urbec/nm.debian.org

MR: !34


Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parents 061a35e4 0fedba7d
Pipeline #308621 passed with stage
in 5 minutes and 23 seconds
...@@ -70,25 +70,11 @@ ...@@ -70,25 +70,11 @@
</tbody> </tbody>
</table> </table>
{% endif %} {% endif %}
{% elif not request.session.signon_identities %}
{% url 'dm_claim' as dm_claim_url %}
<p>{% blocktrans %}You are currently logged in
with <a href="https://wiki.debian.org/DebianSingleSignOn">SSO username</a>
<b>{{request.user.username}}</b>, but not mapped to any person in the site.
If you are a Debian Maintainer, you can try to correct the situation using the
<a href="{{dm_claim}}">claim interface</a>.{% endblocktrans %}</p>
{% else %} {% else %}
<p class="lead">{% trans "This wizard only works when you are logged into the site" %}</p>
<p>{% blocktrans %}You are not currently logged in. See the
<a href="https://wiki.debian.org/DebianSingleSignOn">Single Sign-On page</a>
for details.{% endblocktrans %}</p>
{% endif %} {% endif %}
{% if request.session.signon_identities %} {% if request.signon_identities %}
{% include "wizard/whoami.html" %} {% include "wizard/whoami.html" %}
{% endif %} {% endif %}
......
...@@ -20,7 +20,7 @@ and follow the instructions.{% endblocktrans %} ...@@ -20,7 +20,7 @@ and follow the instructions.{% endblocktrans %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if request.session.signon_identities %} {% if request.signon_identities %}
{% include "wizard/whoami.html" %} {% include "wizard/whoami.html" %}
{% endif %} {% endif %}
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
{% blocktrans with request_user_username=request.user.username %}You {% blocktrans with request_user_username=request.user.username %}You
are currently logged in, but not mapped to any person in the site. are currently logged in, but not mapped to any person in the site.
If you are a Debian Maintainer, you can try to correct the situation using the If you are a Debian Maintainer, you can try to correct the situation using the
<a href="{{dm_claim}}">claim interface</a>.{% endblocktrans %} <a href="{{dm_claim_url}}">claim interface</a>.{% endblocktrans %}
{% url 'public_newnm' as public_newnm_url %} {% url 'public_newnm' as public_newnm_url %}
{% blocktrans %}If you are not yet in the site, {% blocktrans %}If you are not yet in the site,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment