Commit b3314c22 authored by BAIRE Anthony's avatar BAIRE Anthony

add warning+link if the user does not have a ssh key

parent 6ba8825b
......@@ -76,7 +76,13 @@
the command below or click to the Docker panel if you prefer to use this method
or are using continuous development.
<h5>1. Connect to SSH</h5>
<h5>1. Connect via SSH</h5>
{% if not user.allgouser.sshkey %}
<p><span class="text-danger"><i class="fas fa-exclamation-circle text-danger"></i> important:</span>
you must <a href="{% url 'main:user_ssh_add' %}">add your public SSH key</a> to your account before using this command
</p>
{% endif %}
<pre class="language-bash mb-3"><code class="language-*">{{ ssh_command }}</code></pre>
......
Markdown is supported
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