2016-07-13 18:15:14 +02:00
|
|
|
<div>
|
|
|
|
|
|
|
|
<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">
|
2021-06-29 16:24:37 +02:00
|
|
|
<a ng-click="cancel($event)"><i class="fas fa-long-arrow-alt-left "></i></a>
|
2016-07-13 18:15:14 +02:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 col-sm-10 col-md-7 b-l b-r-md">
|
|
|
|
<section class="heading-title">
|
|
|
|
<h1>{{ training.name }}</h1>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-xs-12 col-sm-12 col-md-4 b-t hide-b-md">
|
|
|
|
<section class="heading-actions wrapper">
|
2019-12-16 16:54:40 +01:00
|
|
|
<a ng-click="reserveTraining(training, $event)" class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs" ng-if="!isAuthorized('admin')" translate>{{ 'app.public.training_show.book_this_training' }}</a>
|
2016-09-23 14:43:34 +02:00
|
|
|
|
2019-12-16 16:54:40 +01:00
|
|
|
<a ui-sref="app.admin.trainings_edit({id: training.id})" ng-if="isAuthorized('admin')" class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs"><i class="fa fa-edit"></i> {{ 'app.shared.buttons.edit' | translate }}</a>
|
2016-09-27 15:32:49 +02:00
|
|
|
<a ng-click="delete(training)" ng-if="isAuthorized('admin')" class="btn btn-lg btn-danger b-2x rounded no-b m-t-xs"><i class="fa fa-trash-o"></i></a>
|
2016-07-13 18:15:14 +02:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<div class="row no-gutter">
|
|
|
|
<div class="col-sm-12 col-md-12 col-lg-8 b-r-lg">
|
|
|
|
|
|
|
|
<div class="article wrapper-lg" >
|
|
|
|
|
|
|
|
<div class="article-thumbnail" ng-if="training.training_image">
|
|
|
|
<img ng-src="{{training.training_image}}" alt="{{training.name}}" class="img-responsive">
|
|
|
|
</div>
|
|
|
|
|
2016-09-27 10:45:07 +02:00
|
|
|
<p class="intro" ng-bind-html="training.description | toTrusted"></p>
|
2016-07-13 18:15:14 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|