TimeBlockRow.handlebars 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <tr {{#if locked}}class="locked"{{/if}}>
  2. <td class="date-column">
  3. <input name="date" class="date_field"
  4. value="{{fcMomentToDateString date "medium_with_weekday"}}"
  5. aria-label="{{t "date_label" "Date"}}{{datepickerScreenreaderPrompt 'date'}}"
  6. {{#if locked}}disabled{{/if}} type="text"
  7. data-tooltip title="{{accessibleDateFormat 'date'}}"/>
  8. </div>
  9. </td>
  10. <td class="start-time-column">
  11. <input name="start_time" class="time_field start_time" value="{{fcMomentToString start "tiny"}}"
  12. aria-label="{{t "start_time_label" "Start Time"}}{{datepickerScreenreaderPrompt 'time'}}"
  13. {{#if locked}} disabled{{/if}} type="text"
  14. data-tooltip title="{{accessibleDateFormat 'time'}}"/>
  15. </td>
  16. <td class="separator-column">-</td>
  17. <td class="end-time-column">
  18. <input name="end_time" class="time_field end_time" value="{{fcMomentToString end "tiny"}}"
  19. aria-label="{{t "end_time_label" "End Time"}}{{datepickerScreenreaderPrompt 'time'}}"
  20. {{#if locked}} disabled{{/if}} type="text"
  21. data-tooltip title="{{accessibleDateFormat 'time'}}"/>
  22. </td>
  23. <td class="delete-column">
  24. {{#unless locked}}
  25. <a href="#" class="delete-block-link icon-end">
  26. </a>
  27. {{/unless}}
  28. </td>
  29. </tr>