group_total_cell.handlebars 888 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <div class="gradebook-cell">
  2. {{#unless hideTooltip}}
  3. <div class="gradebook-tooltip {{#if lastColumn}}gradebook-tooltip-last{{/if}}">
  4. {{#if warning}}
  5. <div class="total-column-tooltip">
  6. {{warning.warningText}}
  7. </div>
  8. {{else}}
  9. {{#unless showPointsNotPercent}}
  10. {{score}} / {{possible}}
  11. {{else}}
  12. {{#if possible}}
  13. {{percentage}}
  14. {{else}}
  15. -
  16. {{/if}}
  17. {{/unless}}
  18. {{/if}}
  19. </div>
  20. {{/unless}}
  21. <span class="percentage">
  22. {{#if warning}}
  23. <i class="{{warning.icon}}"></i>
  24. {{/if}}
  25. {{#if showPointsNotPercent}}
  26. {{score}}
  27. {{else}}
  28. {{#if possible}}
  29. {{percentage}}
  30. {{else}}
  31. -
  32. {{/if}}
  33. {{/if}}
  34. </span>
  35. {{#if letterGrade}}
  36. <span class='letter-grade-points'>{{letterGrade}}</span>
  37. {{/if}}
  38. </div>