Commit 2d0e4a1f by Kálmán Viktor

dashboard: add blocktrans tags

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