diff --git a/templates/privileges/resource_limits.phtml b/templates/privileges/resource_limits.phtml deleted file mode 100644 index 5bafa29066..0000000000 --- a/templates/privileges/resource_limits.phtml +++ /dev/null @@ -1,16 +0,0 @@ -
- -

- - - -

- - render( - array('limit' => $limit) - ); - ?> - -
- diff --git a/templates/privileges/resource_limits.twig b/templates/privileges/resource_limits.twig new file mode 100644 index 0000000000..dc1aaf988d --- /dev/null +++ b/templates/privileges/resource_limits.twig @@ -0,0 +1,13 @@ +
+ {% trans 'Resource limits' %} +

+ + <{% trans 'Note: Setting these options to 0 (zero) removes the limit.' %} + +

+ {% for limit in limits %} + {% include 'privileges/resource_limit_item.twig' with { + 'limit': limit + } only %} + {% endfor %} +