Commit a8949f14 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#639] show if user allowed

parent ea0ff0b8
......@@ -10,7 +10,7 @@
% }
</div>
% if ($USER->can_change_settings ) {
% if ($USER->can_change_settings($domain->id) ) {
<div class="tab-pane fade" id="options">
%= include 'main/vm_options'
</div>
......
<ul class="nav nav-tabs" id="myTab">
<li class="nav active"><a href="#description" data-toggle="tab">Description</a></li>
<li class="nav"><a href="#rename" data-toggle="tab">Rename</a></li>
% if ($USER->can_change_settings ) {
% if ($USER->can_change_settings($domain->id) ) {
<li class="nav"><a href="#options" data-toggle="tab">Options</a></li>
% }
% if ($USER->can_change_settings && $domain->drivers) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment