<%=raw app.core.View.getTemplate( 'appointment-detail-nav', { a : a, activeTab : 'attendee' } ) %> <% mStart = a.getMomentStart(); %> <% mEnd = a.getMomentEnd(); %> <% mDeadline = a.getMomentDeadline(); %>
<% if ( a.hasStarted() ) { %> <% var attendeesAttended = a.getAttendeesAttended(); %>
<%= _lc( 'ATTENDED' ) %> (<%= attendeesAttended.length %>)
<% if ( attendeesAttended.length > 0 ) { %> <% for ( var aai = 0; aai < attendeesAttended.length; aai++ ) { %> <%=raw app.core.View.getTemplate( 'appointment-detail-attendee-row', { a: a, at : attendeesAttended[ aai ], g : g } ) %> <% } %>
<% } else { %> <%= _lc( 'NONE' ) %> <% } %>
<% } else { %> <% var attendeesAccepted = a.getAttendeesAccepted(); %>
<%= _lc( 'ACCEPTANCE' ) %> (<%= attendeesAccepted.length %>)
<% if ( attendeesAccepted.length > 0 ) { %> <% for ( var aai = 0; aai < attendeesAccepted.length; aai++ ) { %> <%=raw app.core.View.getTemplate( 'appointment-detail-attendee-row', { a: a, at : attendeesAccepted[ aai ], g : g } ) %> <% } %>
<% } else { %> <%= _lc( 'NONE' ) %> <% } %>
<% if ( 0 < a.getMaxAttendees() ) { %> <% var attendeesWaiting = a.getWaitingList(); %>
<%= _lc( 'WAITINGLIST' ) %> (<%= attendeesWaiting.length %>)
<% if ( attendeesWaiting.length > 0 ) { %> <% for ( var awi = 0; awi < attendeesWaiting.length; awi++ ) { %> <%=raw app.core.View.getTemplate( 'appointment-detail-attendee-waiting-row', { a: a, at : attendeesWaiting[ awi ], g : g, waitingPos : (awi + 1) } ) %> <% } %>
<% } else { %> <%= _lc( 'NONE' ) %> <% } %>
<% } %>
Absagen (<%= a.getProfileIdsDeclined().length %>)
<% let attendeesDeclined = a.getAttendeesDeclined(); %>
<% if ( attendeesDeclined.length > 0 ) { %> <% for ( var adi = 0; adi < attendeesDeclined.length; adi++ ) { %> <%=raw app.core.View.getTemplate( 'appointment-detail-attendee-row', { a: a, at : attendeesDeclined[ adi ], g : g } ) %> <% } %>
<% } else { %> <%= _lc( 'NONE' ) %> <% } %>
<% } %>