<?php $__env->startSection('title', 'Settings | ' . Options::get('title') ); ?>

<?php $__env->startSection('content'); ?>


<div class="content">

    <div class="row content-body ticket-single-page">
        <div class="col-lg-9 col-md-12 ticket-details">
            <div class="ticket-box">
                <div class="ticket-header">
                    <h4>Settings</h4>
                </div>
                <div class="settings-tab">
                <ul class="nav nav-tabs" role="tablist">

                        <?php if( Auth::user()->hasRole('admin') ): ?>
                            <li role="presentation" class="active"><a href="#general" aria-controls="general" role="tab" data-toggle="tab">General Settings</a></li>
                            <li role="presentation"><a href="#theme" aria-controls="theme" role="tab" data-toggle="tab">Theme Settings</a></li>
                            <li role="presentation"><a href="#ticket_s" aria-controls="ticket_s" role="tab" data-toggle="tab">Ticket Settings</a></li>
                        <?php endif; ?>
                        <li role="presentation" class="<?php echo e(Auth::user()->hasRole('staff') ? 'fullwidth-li active' : ''); ?>"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Your Profile</a></li>
                    </ul>

                    <!-- Tab panes -->
                    <div class="tab-content">
                        <?php if( Auth::user()->hasRole('admin') ): ?>

                            <?php /* Including GENERAL SETTINGS Partials */ ?>
                           <?php echo $__env->make('partials.dashboard.settings.general', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>


                            <?php /* Including THEME SETTINGS Partials */ ?>
                           <?php echo $__env->make('partials.dashboard.settings.theme', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>


                            <?php /* Including TICKET SETTINGS Partials */ ?>
                            <?php echo $__env->make('partials.dashboard.settings.ticket', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

                        <?php endif; ?>
                        

                        <?php /* Including PROFILE SETTINGS Partials */ ?>
                        <?php echo $__env->make('partials.dashboard.settings.profile', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

                    </div>

                </div>
            </div>
        </div>
    </div>

</div>


<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.dashboard', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>