Commit 9915ef55 by Kálmán Viktor

request: add help texts

parent 94a5b5e2
......@@ -79,7 +79,7 @@
</div>
</div>
{% empty %}
{% if template_access_types < 1 %}
{% if not template_access_types %}
{% trans "You can't start new virtual machines because no templates are shared with you." %}
{% else %}
{% trans "You can't start new virtual machines because no templates are shared with you however you can request them via the form below." %}
......@@ -89,6 +89,16 @@
{% endfor %}
</div>
{% if templates and template_access_types %}
{% url "request.views.request-template" as request_url %}
<hr />
<p class="text-right">
{% blocktrans with url=request_url %}
Need other templates? Submit a new <a href="{{ url }}">request</a>.
{% endblocktrans %}
</p>
{% endif %}
<style>
.progress {
position: relative;
......
......@@ -18,7 +18,7 @@
{% trans "Back" %}
</a>
<h3 class="no-margin">
<i class="fa fa-clock-o"></i>
<i class="fa fa-puzzle-piece"></i>
{% if form.instance.pk %}
{{ form.instance.name }}
{% else %}
......
......@@ -21,7 +21,7 @@
{% trans "new template access type" %}
</a>
</div>
<h3 class="no-margin"><i class="fa fa-group"></i> {% trans "Requests" %}</h3>
<h3 class="no-margin"><i class="fa fa-phone"></i> {% trans "Request types" %}</h3>
</div>
<div class="panel-body">
<div id="table_container">
......
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 sign in to comment