Created
December 2, 2016 11:00
-
-
Save Yiin/de4d74893fad799d58efa5757333b499 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="session-container-list"> | |
<li class="session-container" | |
*ngFor="let container of containers" | |
[class.empty-container]="container.sessions.length === 0" (click)="container.sessions.length === 0&&!isPublic&&!isAnalytics&&addNewSession(container)" [style.cursor]="(!isPublic&&!isAnalytics)?'pointer':'auto'"> | |
<ul *ngIf="!isPublic" class="session-list" | |
[dragula]='"column"' [dragulaModel]='container.sessions' | |
data-column-type="absolute" | |
[attr.data-container]="getContainerData(container) | json"> | |
<li class="session-wrapper" | |
*ngFor="let session of container.sessions" | |
[attr.data-session-id]="session.id" | |
[attr.data-session-placeholder]="session.placeholder" | |
[attr.data-session-start]="session.start?session.start.toISOString():''" | |
[attr.data-session-duration]="session.duration" | |
[class.placeholder]="session.placeholder"> | |
<my-session [session]="session" [offsetDate]="offsetDate" [agenda]="agenda" [isPublic]="isPublic" [isAnalytics]="isAnalytics" | |
(onSessionEdited)="onSessionEdited($event)" | |
(onSpeakerEdited)="onSpeakerEdited($event)" | |
(onSpeakerAdded2)="onSpeakerAdded($event)" | |
(onVenueEdited)="onVenueEdited($event)" | |
(onVenueAdded2)="onVenueAdded($event)" | |
(onSessionDeleted)="onSessionDeleted($event)" | |
></my-session> | |
</li> | |
</ul> | |
<ul *ngIf="isPublic && container.sessions" class="session-list"> | |
<li class="session-wrapper" | |
*ngFor="let session of container.sessions" | |
[class.placeholder]="session.placeholder"> | |
<my-session [session]="session" | |
[offsetDate]="offsetDate" | |
[agenda]="agenda" | |
[isPublic]="isPublic" | |
[isAnalytics]="isAnalytics" | |
*ngIf="session.toggle" | |
[token]="token" | |
[interested]="isInterestedInSession(session)" | |
(onSessionInterestEdited)="onSessionInterestEdited($event)" | |
[analyticsData]="getAnalyticsDataForSession(session)"> | |
</my-session> | |
</li> | |
</ul> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment