2016-08-04 12:08:33 +02:00
|
|
|
<div class="col-md-5 m-t-lg">
|
2019-12-20 15:47:42 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-7">
|
2020-02-19 13:00:38 +01:00
|
|
|
<div class="form-group search-members">
|
2019-12-20 15:47:42 +01:00
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon"><i class="fa fa-filter"></i></span>
|
|
|
|
<input type="text" ng-model="member.searchText" class="form-control" placeholder="{{ 'app.admin.members.search_for_an_user' | translate }}" ng-change="updateTextSearch()">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-5">
|
2020-02-19 13:00:38 +01:00
|
|
|
<div class="form-group filter-members">
|
2019-12-20 15:47:42 +01:00
|
|
|
<select ng-model="member.memberFilter" ng-change="updateMemberFilter()" class="form-control">
|
|
|
|
<option ng-repeat="filter in member.memberFilters" value="{{filter}}" translate>{{ 'app.admin.members.group_form.member_filter_'+filter }}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2016-08-04 12:08:33 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-31 11:29:10 +02:00
|
|
|
|
2016-08-04 12:08:33 +02:00
|
|
|
<div class="col-md-12">
|
2023-05-31 11:29:10 +02:00
|
|
|
<button type="button" class="btn btn-warning m-b" ui-sref="app.admin.members_new" translate>
|
2020-04-28 13:20:12 +02:00
|
|
|
{{ 'app.admin.members.add_a_new_member' }}
|
|
|
|
</button>
|
2023-05-31 11:29:10 +02:00
|
|
|
<div class="pull-right exports-buttons m-b" ng-show="isAuthorized('admin')">
|
2016-08-04 12:08:33 +02:00
|
|
|
<a class="btn btn-default" ng-href="api/members/export_members.xlsx" target="export-frame" ng-click="alertExport('members')">
|
2019-12-16 16:54:40 +01:00
|
|
|
<i class="fa fa-file-excel-o"></i> {{ 'app.admin.members.members' | translate }}
|
2016-08-04 12:08:33 +02:00
|
|
|
</a>
|
2020-11-02 13:18:31 +01:00
|
|
|
<a class="btn btn-default" ng-href="api/members/export_subscriptions.xlsx" target="export-frame" ng-if="$root.modules.plans" ng-click="alertExport('subscriptions')">
|
2019-12-16 16:54:40 +01:00
|
|
|
<i class="fa fa-file-excel-o"></i> {{ 'app.admin.members.subscriptions' | translate }}
|
2016-08-04 12:08:33 +02:00
|
|
|
</a>
|
|
|
|
<a class="btn btn-default" ng-href="api/members/export_reservations.xlsx" target="export-frame" ng-click="alertExport('reservations')">
|
2019-12-16 16:54:40 +01:00
|
|
|
<i class="fa fa-file-excel-o"></i> {{ 'app.admin.members.reservations' | translate }}
|
2016-08-04 12:08:33 +02:00
|
|
|
</a>
|
|
|
|
<iframe name="export-frame" height="0" width="0" class="none"></iframe>
|
|
|
|
</div>
|
|
|
|
|
2023-05-31 18:20:14 +02:00
|
|
|
<div>
|
|
|
|
<members-list members="members" on-success="onSuccess" on-error="onError" operator="currentUser" on-delete-member="deleteMember" on-deleted-child="onDeletedChild" on-updated-child="onUpdatedChild" />
|
|
|
|
</div>
|
2023-05-31 11:29:10 +02:00
|
|
|
|
2016-08-04 12:08:33 +02:00
|
|
|
<div class="text-center">
|
2020-02-19 13:00:38 +01:00
|
|
|
<button class="btn btn-warning show-more" ng-click="showNextMembers()" ng-hide="member.noMore"><i class="fa fa-search-plus" aria-hidden="true"></i> {{ 'app.admin.members.display_more_users' | translate }}</button>
|
2016-08-04 12:08:33 +02:00
|
|
|
</div>
|
2019-12-16 16:54:40 +01:00
|
|
|
</div>
|