2016-03-18 11:00:31 +01:00
|
|
|
<div ng-if="item" class="header">
|
2015-11-29 22:25:01 +01:00
|
|
|
<div class="title">
|
|
|
|
<div class="submenu">
|
|
|
|
<a ui-sref="agenda.item.list" class="btn btn-sm btn-default">
|
|
|
|
<i class="fa fa-angle-double-left fa-lg"></i>
|
2016-01-10 13:47:59 +01:00
|
|
|
<translate>Agenda</translate>
|
|
|
|
</a>
|
2016-09-17 11:44:33 +02:00
|
|
|
<a ui-sref="{{ item.content_object.collection.replace('/','.') }}.detail({id: item.content_object.id})" class="btn btn-sm btn-default">
|
2016-01-10 13:47:59 +01:00
|
|
|
<i class="fa fa-angle-double-left fa-lg"></i>
|
2016-01-25 21:22:22 +01:00
|
|
|
{{ item.getContentResource().verboseName | translate }}
|
2015-11-29 22:25:01 +01:00
|
|
|
</a>
|
2015-12-09 20:02:08 +01:00
|
|
|
<!-- project list of speakers -->
|
2016-09-12 11:05:34 +02:00
|
|
|
<span class="btn-group" style="min-width:54px;" uib-dropdown
|
2016-10-31 17:10:21 +01:00
|
|
|
uib-tooltip="{{ 'Projector' | translate }} {{ item.isListOfSpeakersProjected()[0] || '' }}"
|
|
|
|
tooltip-enable="item.isListofSpeakersProjected().length"
|
2016-09-12 11:05:34 +02:00
|
|
|
os-perms="core.can_manage_projector">
|
|
|
|
<button type="button" class="btn btn-default btn-sm"
|
|
|
|
ng-click="item.projectListOfSpeakers(defaultProjectorListOfSpeakersId)"
|
2016-10-31 17:10:21 +01:00
|
|
|
ng-class="{ 'btn-primary': inArray(item.isListOfSpeakersProjected(), defaultProjectorListOfSpeakersId) }">
|
2016-09-12 11:05:34 +02:00
|
|
|
<i class="fa fa-video-camera"></i>
|
|
|
|
<translate>List of speakers</translate>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-default btn-sm slimDropDown"
|
2016-10-31 17:10:21 +01:00
|
|
|
ng-class="{ 'btn-primary': (item.isListOfSpeakersProjected().length && !inArray(item.isListOfSpeakersProjected(), defaultProjectorListOfSpeakersId) ) }"
|
2016-09-12 11:05:34 +02:00
|
|
|
ng-if="projectors.length > 1"
|
|
|
|
uib-dropdown-toggle>
|
|
|
|
<span class="caret"></span>
|
|
|
|
</button>
|
2016-10-17 10:10:13 +02:00
|
|
|
<ul class="dropdown-menu" ng-if="projectors.length > 1">
|
2016-12-19 10:40:55 +01:00
|
|
|
<li role="menuitem" ng-repeat="projector in projectors | orderBy:'id'">
|
2016-09-12 11:05:34 +02:00
|
|
|
<a href="" ng-click="item.projectListOfSpeakers(projector.id)"
|
2016-10-31 17:10:21 +01:00
|
|
|
ng-class="{ 'projected': inArray(item.isListOfSpeakersProjected(), projector.id) }">
|
|
|
|
<i class="fa fa-video-camera" ng-show="inArray(item.isListOfSpeakersProjected(), projector.id) "></i>
|
2016-11-29 11:46:38 +01:00
|
|
|
{{ projector.name | translate }}
|
2016-10-04 12:00:11 +02:00
|
|
|
<span ng-if="defaultProjectorListOfSpeakersId == projector.id">(<translate>Default</translate>)</span>
|
2016-09-12 11:05:34 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</span>
|
2015-11-29 22:25:01 +01:00
|
|
|
<!-- project -->
|
2016-09-12 11:05:34 +02:00
|
|
|
<projector-button model="item" default-projector-id="defaultProjectorItemId"
|
|
|
|
content="{{ item.getContentResource().verboseName | translate }}">
|
|
|
|
</projector-button>
|
2015-11-29 22:25:01 +01:00
|
|
|
</div>
|
2016-01-10 11:10:14 +01:00
|
|
|
<h1>{{ item.getTitle() }}</h1>
|
2016-01-13 20:27:07 +01:00
|
|
|
<h2>
|
|
|
|
<translate>List of speakers</translate>
|
|
|
|
<span ng-if="item.speaker_list_closed" class="slimlabel label label-danger"
|
|
|
|
translate>Closed</span>
|
|
|
|
</h2>
|
2015-11-29 22:25:01 +01:00
|
|
|
</div>
|
2015-03-09 15:40:54 +01:00
|
|
|
</div>
|
|
|
|
|
2017-02-24 11:38:17 +01:00
|
|
|
<ng-include src="'static/templates/agenda/list-of-speakers-partial-management.html'"></ng-include>
|