Commit 2d0e4a1f by Kálmán Viktor

dashboard: add blocktrans tags

parent 6b1d46f5
......@@ -128,7 +128,7 @@
<dd>
{% blocktrans %}
Same as user, however operators can grant user level access to this template
for groups and users but they can only revoke user level accesses.
for groups or users and they can revoke user level accesses.
{% endblocktrans %}
</dd>
<dt>{% trans "Owner" %}</dt>
......@@ -155,7 +155,7 @@
{% for d in disks %}
<li>
<i class="fa fa-file"></i>
{{ d.name }} (#{{ d.id }}) -
{{ d.name }} (#{{ d.id }})
<a href="{% url "dashboard.views.disk-remove" pk=d.pk %}?next={{ request.path }}"
data-disk-pk="{{ d.pk }}" class="btn btn-xs btn-danger pull-right disk-remove"
{% if not long_remove %}title="{% trans "Remove" %}"{% endif %}>
......
......@@ -19,18 +19,25 @@
<h3>{% trans "Permissions"|capfirst %}</h3>
{% include "dashboard/_manage_access.html" with table_id="vm-access-table" %}
<hr />
<dl>
<dt>User</dt>
<dd>Grants access to the detail page so the users can connect to the virtual machine.
<dt>{% trans "User" %}</dt>
<dd>
{% trans "Grants access to the detail page so the users can connect to the virtual machine." %}
</dd>
<dt>Operator</dt>
<dd>Users or groups with operator access can modify the the name and description, open ports and grant user level accesses to the virtual machine. They can only revoke user level access.
<dt>{% trans "Operator" %}</dt>
<dd>
{% blocktrans %}
Users or groups with operator access can modify the the name and description, open ports and grant user level access to the virtual machine.
{% endblocktrans %}
</dd>
<dt>Owner</dt>
<dt>{% trans "Owner" %}</dt>
<dd>
{% blocktrans %}
Full access to the virtual machine. They can use operations, change resources and grant operator level access to users or groups.
Besides the access levels the instance also has an original owner.
The original owner's access cannot be revoked however the ownership is transferable.
{% endblocktrans %}
</dd>
</dl>
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