Commit 9915ef55 by Kálmán Viktor

request: add help texts

parent 94a5b5e2
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</div> </div>
</div> </div>
{% empty %} {% 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." %} {% trans "You can't start new virtual machines because no templates are shared with you." %}
{% else %} {% 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." %} {% 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 @@ ...@@ -89,6 +89,16 @@
{% endfor %} {% endfor %}
</div> </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> <style>
.progress { .progress {
position: relative; position: relative;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
{% trans "Back" %} {% trans "Back" %}
</a> </a>
<h3 class="no-margin"> <h3 class="no-margin">
<i class="fa fa-clock-o"></i> <i class="fa fa-puzzle-piece"></i>
{% if form.instance.pk %} {% if form.instance.pk %}
{{ form.instance.name }} {{ form.instance.name }}
{% else %} {% else %}
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
{% trans "new template access type" %} {% trans "new template access type" %}
</a> </a>
</div> </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>
<div class="panel-body"> <div class="panel-body">
<div id="table_container"> <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