cancel.html 2.2 KB
Newer Older
1
{% extends "process/nm2-base.html" %}
2
{% load nm %}
3
{% load i18n %}
4
5
6

{% block content %}

7
<h1>{% trans "Cancel process" %}</h1>
8

Enrico Zini's avatar
Enrico Zini committed
9
{% if request.user.is_anonymous %}
Enrico Zini's avatar
Enrico Zini committed
10

11
{% blocktrans %}To access the page you need to authenticate yourself with the 
Enrico Zini's avatar
Enrico Zini committed
12
<a href="https://wiki.debian.org/DebianSingleSignOn#Documentation_for_Users">Debian Single SignOn</a>
13
system. Follow the link for instructions.{% endblocktrans %}
Enrico Zini's avatar
Enrico Zini committed
14

15
{% else %}
Enrico Zini's avatar
Enrico Zini committed
16

17
{% if process.applying_for == "dd_e" %} 
18
  <p>{% blocktrans with started_on=process.started|date:"F d, Y" person_ldap_uid=process.person.ldap_fields.uid %}On {{started_on}} the
19
<a href="https://wiki.debian.org/qa.debian.org/MIATeam">Missing In Action</a>
Romain Porte's avatar
Romain Porte committed
20
team sent a "Where Are Thou?" ping message to <code>{{person_ldap_uid}}</code>
21
communicating the intention of closing the account after some time.{% endblocktrans %}</p>
22
  
23
  <p>{% blocktrans with person_fullname=person.fullname %}If you are {{person_fullname}} and consider
24
yourself still active, you can use this page to let the MIA team know.{% endblocktrans %}</p>
25
26
27

  {% if not process.person.fpr %}
  
28
29
30
  <p>{% blocktrans %}You do not seem to have a valid OpenPGP key at the moment, please contact
<a href="https://keyring.debian.org/">the Keyring team</a> to have again a key
in the Debian keyring.{% endblocktrans %}</p>
31
32
33
  
  {% endif %}
  
34
35
36
  <p>{% blocktrans %}Please type below a message for the MIA team describing
what you do or are going to do in Debian. The text will only be visible to
Front Desk / MIA team unless you tick the box to make it public.{% endblocktrans %}</p>
37
{% else %}
38
39
  <p>{% blocktrans with applying_for=process.applying_for|desc_status started_on=process.started|date:'F d, Y' %}By submitting this form you can cancel the process for
becoming {{ applying_for }} started on {{started_on}}.{% endblocktrans %}</p>
Enrico Zini's avatar
Enrico Zini committed
40
41
42
{% endif %}


Enrico Zini's avatar
Enrico Zini committed
43
<form id="cancel" action="{{request.build_absolute_uri}}" method="POST">{% csrf_token %}
44
45
46
{{form.non_field_errors}}
  <p>
  {{form.statement.errors}}
Enrico Zini's avatar
Enrico Zini committed
47
  {{form.statement.label_tag}}<br>
48
49
  {{form.statement}}
  </p>
Enrico Zini's avatar
Enrico Zini committed
50
51
52
53
54
  <p>
  {{form.is_public.errors}}
  {{form.is_public.label_tag}}
  {{form.is_public}}
  </p>
55
  <button type="submit" class="btn btn-primary">{% trans "Submit" %}</button>
56
</form>
57

58
59
60
61
{% endif %}

{% endblock %}