2017-02-23 13:46:16 +01:00
|
|
|
<section class="heading b-b">
|
|
|
|
<div class="row no-gutter">
|
|
|
|
<div class="col-xs-2 col-sm-2 col-md-1">
|
|
|
|
<section class="heading-btn">
|
|
|
|
<a href="#" ng-click="backPrevLocation($event)"><i class="fa fa-long-arrow-left "></i></a>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 col-sm-10 col-md-8 b-l b-r-md">
|
|
|
|
<section class="heading-title">
|
2019-12-17 18:06:56 +01:00
|
|
|
<h1 translate translate-values="{NAME:space.name}">{{ 'app.logged.space_reserve.planning_of_space_NAME' }}</h1>
|
2017-02-23 13:46:16 +01:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row no-gutter training-reserve">
|
|
|
|
<div class="col-sm-12 col-md-12 col-lg-9">
|
|
|
|
<div ui-calendar="calendarConfig" ng-model="eventSources" calendar="calendar" class="wrapper-lg" ng-show="!plansAreShown"></div>
|
2020-09-23 16:42:43 +02:00
|
|
|
<ng-include ng-if="modules.plans" src="'/plans/_plan.html'"></ng-include>
|
2017-02-23 13:46:16 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-12 col-md-12 col-lg-3">
|
|
|
|
|
2020-04-27 12:58:44 +02:00
|
|
|
<div ng-if="isAuthorized(['admin', 'manager'])">
|
2017-02-23 13:46:16 +01:00
|
|
|
<select-member></select-member>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<cart slot="selectedEvent"
|
|
|
|
slot-selection-time="selectionTime"
|
|
|
|
events="events"
|
|
|
|
user="ctrl.member"
|
|
|
|
mode-plans="plansAreShown"
|
|
|
|
plan="selectedPlan"
|
|
|
|
plan-selection-time="planSelectionTime"
|
|
|
|
settings="settings"
|
2020-02-11 13:21:25 +01:00
|
|
|
plans="plans"
|
|
|
|
groups="groups"
|
2017-02-23 13:46:16 +01:00
|
|
|
on-slot-added-to-cart="markSlotAsAdded"
|
|
|
|
on-slot-removed-from-cart="markSlotAsRemoved"
|
|
|
|
on-slot-start-to-modify="markSlotAsModifying"
|
|
|
|
on-slot-modify-success="modifyTrainingSlot"
|
|
|
|
on-slot-modify-cancel="cancelModifyTrainingSlot"
|
|
|
|
on-slot-modify-unselect="changeModifyTrainingSlot"
|
|
|
|
on-slot-cancel-success="slotCancelled"
|
|
|
|
after-payment="afterPayment"
|
2017-02-23 17:45:55 +01:00
|
|
|
reservable-id="{{space.id}}"
|
|
|
|
reservable-type="Space"
|
|
|
|
reservable-name="{{space.name}}"></cart>
|
2017-02-23 13:46:16 +01:00
|
|
|
|
|
|
|
|
2017-03-01 11:47:20 +01:00
|
|
|
<uib-alert type="warning m" ng-show="spaceExplicationsAlert">
|
2017-03-02 17:04:47 +01:00
|
|
|
<p class="text-sm pull-left">
|
2017-02-23 13:46:16 +01:00
|
|
|
<i class="fa fa-warning"></i>
|
2017-03-02 17:04:47 +01:00
|
|
|
<div class="m-l-lg" ng-bind-html="spaceExplicationsAlert"></div>
|
2017-02-23 13:46:16 +01:00
|
|
|
</p>
|
|
|
|
</uib-alert>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|