| @@ -111,6 +111,7 @@ app.core.Dict = { | |||||
| "CLOSE" : "Schließen", | "CLOSE" : "Schließen", | ||||
| "CREATE_APPOINTMENT" : "Termin erstellen", | "CREATE_APPOINTMENT" : "Termin erstellen", | ||||
| "APPOINTMENT_SUBJECT" : "Terminname", | "APPOINTMENT_SUBJECT" : "Terminname", | ||||
| "APPOINTMENT_ICON" : "Icon", | |||||
| "APPOINTMENT_START_DATE" : "Startdatum", | "APPOINTMENT_START_DATE" : "Startdatum", | ||||
| "APPOINTMENT_START_TIME" : "Startzeit", | "APPOINTMENT_START_TIME" : "Startzeit", | ||||
| "APPOINTMENT_END_DATE" : "Enddatum", | "APPOINTMENT_END_DATE" : "Enddatum", | ||||
| @@ -44,7 +44,7 @@ | |||||
| <% } %> | <% } %> | ||||
| </div> | </div> | ||||
| <div class="appointment-detail-appointment-name"> | <div class="appointment-detail-appointment-name"> | ||||
| <%= a.getSubject() %> | |||||
| ❤ <%= a.getSubject() %> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -24,22 +24,47 @@ | |||||
| value="<%= mTeam.getId() %>" /> | value="<%= mTeam.getId() %>" /> | ||||
| <div class="form-group"> | <div class="form-group"> | ||||
| <label for="input-subject"> | |||||
| <%= _lc( 'APPOINTMENT_SUBJECT' ) %> | |||||
| </label> | |||||
| <input type="text" | |||||
| minlength="3" | |||||
| maxlength="255" | |||||
| name="subject" | |||||
| data-id="input-subject" | |||||
| id="input-subject" | |||||
| class="form-control" | |||||
| value="<%= a.getSubject() %>" | |||||
| autocomplete="off" | |||||
| required /> | |||||
| <div class="invalid-feedback"> | |||||
| <%= _lc( 'VALIDATION_INPUT_REQUIRED' ) %> | |||||
| <div class="form-row"> | |||||
| <div class="col col-2"> | |||||
| <label for="input-start-date"> | |||||
| <%= _lc( 'APPOINTMENT_ICON' ) %> | |||||
| </label> | |||||
| <select class="form-control" | |||||
| name="categoryicon"> | |||||
| <option value="">- kein -</option> | |||||
| <option value="flower">⚘</option> | |||||
| <option value="flag">⚑</option> | |||||
| <option value="ballot-x">✗</option> | |||||
| <option value="star">✩</option> | |||||
| <option value="asterisk">✽</option> | |||||
| <option value="heart">❤</option> | |||||
| <option value="arrow">➔</option> | |||||
| <option value="gear">⚙</option> | |||||
| <option value="circle-dots">⚇</option> | |||||
| <option value="sun">☼</option> | |||||
| <option value="smiley">☻</option> | |||||
| </select> | |||||
| </div> | |||||
| <div class="col col-10"> | |||||
| <label for="input-subject"> | |||||
| <%= _lc( 'APPOINTMENT_SUBJECT' ) %> | |||||
| </label> | |||||
| <input type="text" | |||||
| minlength="3" | |||||
| maxlength="255" | |||||
| name="subject" | |||||
| data-id="input-subject" | |||||
| id="input-subject" | |||||
| class="form-control" | |||||
| value="<%= a.getSubject() %>" | |||||
| autocomplete="off" | |||||
| required /> | |||||
| <div class="invalid-feedback"> | |||||
| <%= _lc( 'VALIDATION_INPUT_REQUIRED' ) %> | |||||
| </div> | |||||
| </div> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <% var categories = mTeam.getAdminCourseCategoriesForProfile( currentProfile ); %> | <% var categories = mTeam.getAdminCourseCategoriesForProfile( currentProfile ); %> | ||||
| @@ -38,20 +38,44 @@ | |||||
| </div> | </div> | ||||
| <div class="form-group"> | <div class="form-group"> | ||||
| <label for="input-subject"> | |||||
| <%= _lc( 'APPOINTMENT_SUBJECT' ) %> | |||||
| </label> | |||||
| <input type="text" | |||||
| minlength="3" | |||||
| maxlength="255" | |||||
| name="subject" | |||||
| data-id="input-subject" | |||||
| id="input-subject" | |||||
| class="form-control" | |||||
| autocomplete="off" | |||||
| required /> | |||||
| <div class="invalid-feedback"> | |||||
| <%= _lc( 'VALIDATION_INPUT_REQUIRED' ) %> | |||||
| <div class="form-row"> | |||||
| <div class="col col-2"> | |||||
| <label for="input-start-date"> | |||||
| <%= _lc( 'APPOINTMENT_ICON' ) %> | |||||
| </label> | |||||
| <select class="form-control" | |||||
| name="categoryicon"> | |||||
| <option value="">- kein -</option> | |||||
| <option value="flower">⚘</option> | |||||
| <option value="flag">⚑</option> | |||||
| <option value="ballot-x">✗</option> | |||||
| <option value="star">✩</option> | |||||
| <option value="asterisk">✽</option> | |||||
| <option value="heart">❤</option> | |||||
| <option value="arrow">➔</option> | |||||
| <option value="gear">⚙</option> | |||||
| <option value="circle-dots">⚇</option> | |||||
| <option value="sun">☼</option> | |||||
| <option value="smiley">☻</option> | |||||
| </select> | |||||
| </div> | |||||
| <div class="col col-10"> | |||||
| <label for="input-subject"> | |||||
| <%= _lc( 'APPOINTMENT_SUBJECT' ) %> | |||||
| </label> | |||||
| <input type="text" | |||||
| minlength="3" | |||||
| maxlength="255" | |||||
| name="subject" | |||||
| data-id="input-subject" | |||||
| id="input-subject" | |||||
| class="form-control" | |||||
| autocomplete="off" | |||||
| required /> | |||||
| <div class="invalid-feedback"> | |||||
| <%= _lc( 'VALIDATION_INPUT_REQUIRED' ) %> | |||||
| </div> | |||||
| </div> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -46,7 +46,7 @@ | |||||
| <% } %> | <% } %> | ||||
| </div> | </div> | ||||
| <div class="appointment-subject"> | <div class="appointment-subject"> | ||||
| <%= a.getSubject() %> | |||||
| ❤ <%= a.getSubject() %> | |||||
| <% if ( a.isDraft() ) { %> | <% if ( a.isDraft() ) { %> | ||||
| <span class="badge badge-warning">Entwurf</span> | <span class="badge badge-warning">Entwurf</span> | ||||
| <% } %> | <% } %> | ||||