Ignore:
Timestamp:
10/24/21 20:55:11 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
7043def
Parents:
e0d3f94
Message:

bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resources/views/dashboard/settings/index.blade.php

    re0d3f94 r0df7a93  
    2424                        <a class="nav-link {{$active_tab == 'account' ? 'active' : ""}}" id="account-tab" data-toggle="pill" href="#account" role="tab" aria-controls="account" aria-selected="true">Account</a>
    2525                        <a class="nav-link {{$active_tab == 'security' ? 'active' : ""}}" id="security-tab" data-toggle="pill" href="#security" role="tab" aria-controls="security" aria-selected="false">Security</a>
     26                        @if(auth()->user()->hasPermission('validation_data'))
    2627                        <a class="nav-link {{$active_tab == 'file-types' ? 'active' : ""}}" id="file-types-tab" data-toggle="pill" href="#file-types" role="tab" aria-controls="file-types" aria-selected="false">File validation</a>
     28                        @endif
    2729                    </div>
    2830                </div>
     
    233235                        </div>
    234236                        <div class="tab-pane {{$active_tab == 'file-types' ? 'active' : ""}}" id="file-types" role="tabpanel" aria-labelledby="file-types-tab">
    235 
     237                            @if(auth()->user()->hasPermission('validation_data'))
    236238                            <div class="card">
    237239                                    <div class="card-body">
     
    259261                                    </div>
    260262                                </div>
    261 
     263@endif
    262264                        </div>
    263265                    </div>
Note: See TracChangeset for help on using the changeset viewer.