You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
View to enter a private key that will be encrypted and saved into the user session.
Util functions to encrypt/decrypt the private key.
Decorator to redirect to the private key input view if there is no key defined in the user session.
Templatetag 'decrypt' that decrypts text using the private key provided to the templatetag.
Fixesietf-tools#947
- Legacy-Id: 5335
Copy file name to clipboardExpand all lines: ietf/templates/nomcom/nomcom_private_base.html
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,8 @@ <h1>Nomcom {{ year }} Private Area</h1>
9
9
<divclass="ietf-navset">
10
10
{% if selected == "index" %}<spanclass="selected">List of nominees</span>{% else %}<ahref="{% url nomcom_private_index year %}">List of nominees</a>{% endif %} |
11
11
{% if selected == "nominate" %}<spanclass="selected">Nominate</span>{% else %}<ahref="{% url nomcom_private_nominate year %}">Nominate</a>{% endif %} |
12
-
{% if user|is_chair:year %}
12
+
{% if selected == "private_key" %}<spanclass="selected">Private key</span>{% else %}<ahref="{% url nomcom_private_key year %}">Private key</a>{% endif %}
{% block subtitle %}- Enter private key{% endblock %}
4
+
5
+
{% block nomcom_content %}
6
+
<h2>Enter private key</h2>
7
+
8
+
<p>In order to access the {{ nomcom.group }} data you have to enter your private key. Please paste it in the text area below.</p>
9
+
10
+
<p>If you don't have a private key, please contact the group chair. You can leave the key empty and continue navigation without access to the encrypted data.</p>
0 commit comments