<div class="content-wrapper" ng-if="myAccess">
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="text-warning">
                        <go-back/>
                        <i class="fas fa-users"></i> My Team Heroes Skills ({{(heroes | filter:dynFilter).length}})
                    </h1>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a ng-href="{{baseurl}}/dashboard">Home</a></li>
                        <li class="breadcrumb-item active">Heroes</li>
                    </ol>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>
    <section class="content">
        <div class="container-fluid">
            <div class="row">
             
                <div class="col-md-12">
                    <div class="card card-warning card-outline">
                        <div class="card-header border-transparent">
                            <h3 class="card-title">My Team Heroes Skills</h3>
                        </div>
                        <div class="card-body p-0 mt-2">
                            <div class="table-responsive">
                                <table id="heroList" class="table table-bordered table-striped table-sm heroList">
                                    <thead>
                                    <tr>
                                        <th>Name<br>Email / Mobile</th>
                                        <th>Code</th>
                                        <!-- <th>Manager</th> -->
                                        <th>Skills</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr ng-repeat="hero in heroes">
                                        <td>
                                            <span class="nowrap">{{hero.emp_first_name + ' ' + hero.emp_last_name}}</span> 
                                        </td>
                                        <td>{{hero.emp_code}}</td>
                                        <!-- <td><a href="/heroes/view/{{hero.emp_lm}}" target="_blank"  class="nowrap">{{hero.lm_fn + ' ' + hero.lm_mn + ' ' + hero.lm_ln}}</a></td> -->
                                        <td>
                                            <div><small class="badge bg-primary ml-1" ng-repeat="sk in hero.emp_skills.split(',')">{{sk}}</small></div>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
