mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +01:00
101 lines
3.8 KiB
Plaintext
101 lines
3.8 KiB
Plaintext
|
<div>
|
||
|
<ui-view autoscroll='true'></ui-view>
|
||
|
|
||
|
<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">
|
||
|
<h1>{{ event.title }} <span class="v-middle badge text-xs bg-formation">{{event.categories[0].name}}</span></h1>
|
||
|
</section>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md" ng-if="isAuthorized('admin')">
|
||
|
<section class="heading-actions wrapper">
|
||
|
|
||
|
<a ui-sref="app.admin.events_edit({id: event.id})" ng-if="isAuthorized('admin')" class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs text-u-c text-sm"><i class="fa fa-edit"></i> éditer</a>
|
||
|
<a ng-click="deleteEvent(event)" 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>
|
||
|
|
||
|
</section>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
|
||
|
<div class="row no-gutter">
|
||
|
<div class="col-sm-12 col-md-12 col-lg-8">
|
||
|
|
||
|
<div class="article wrapper-lg">
|
||
|
|
||
|
<div class="article-thumbnail" ng-if="event.event_image">
|
||
|
<img ng-src="{{event.event_image}}" alt="{{event.title}}" class="img-responsive">
|
||
|
</div>
|
||
|
|
||
|
<h3>Description de l'évènement</h3>
|
||
|
<p ng-bind-html="event.description | breakFilter"></p>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col-sm-12 col-md-12 col-lg-4">
|
||
|
|
||
|
<section class="widget panel b-a m" ng-if="event.event_files_attributes">
|
||
|
<div class="panel-heading b-b">
|
||
|
<span class="badge bg-warning pull-right">{{event.event_files_attributes.length}}</span>
|
||
|
<h3>Documents à télécharger</h3>
|
||
|
</div>
|
||
|
|
||
|
<ul class="widget-content list-group list-group-lg no-bg auto">
|
||
|
<li ng-repeat="file in event.event_files_attributes" class="list-group-item no-b clearfix">
|
||
|
<a target="_blank" ng-href="{{file.attachment_url}}"><i class="fa fa-arrow-circle-o-down"> </i> {{file.attachment | humanize : 25}}</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</section>
|
||
|
|
||
|
<section class="widget panel b-a m m-t-lg">
|
||
|
<div class="panel-heading b-b small">
|
||
|
<h3>Informations</h3>
|
||
|
</div>
|
||
|
|
||
|
<div class="panel-content wrapper">
|
||
|
|
||
|
<h5>{{event.categories[0].name}}</h5>
|
||
|
<dl class="text-sm">
|
||
|
<dt><i class="fa fa-calendar"></i> Dates :</dt>
|
||
|
<dd>Début: <span class="text-u-l">{{event.start_date | amDateFormat:'DD/MM/YYYY'}}</span><br>Fin: <span class="text-u-l">{{event.end_date | amDateFormat:'DD/MM/YYYY'}}</span></dd>
|
||
|
<dt><i class="fa fa-clock-o"></i> Horaires :</dt>
|
||
|
<dd ng-if="event.all_day == 'true'"><span>Toute la journée</span></dd>
|
||
|
<dd ng-if="event.all_day == 'false'">De <span class="text-u-l">{{event.start_date | amDateFormat:'HH:mm'}}</span> à <span class="text-u-l">{{event.end_date | amDateFormat:'HH:mm'}}</span></dd>
|
||
|
</dl>
|
||
|
|
||
|
<div class="text-sm" ng-if="event.amount">
|
||
|
<div>Plein tarif : <span>{{ event.amount }} €</span></div>
|
||
|
<div ng-if="event.reduced_amount > 0">Tarif réduit* : {{ event.reduced_amount }} €</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="text-sm m-b" ng-if="event.nb_total_places">
|
||
|
<div>Places disponibles: <span class="font-sbold">{{event.nb_total_places}}</span></div>
|
||
|
</div>
|
||
|
<div class="text-sm m-b" ng-if="!event.nb_total_places">
|
||
|
<div><span class="badge font-sbold">Entrée libre</span></div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
<div ng-if="event.reduced_amount" class="alert alert-warning text-sm m" role="alert">
|
||
|
* Tarif réduit si vous avez moins de 25 ans, que vous êtes étudiant ou demandeur d'emploi.
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|