/usr/lib/python2.7/dist-packages/schooltool/lyceum/journal/browser/templates/f_journal_absence_table.pt is in python-schooltool.lyceum.journal 2.6.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | <div id="gradebook" class="gradebook"
tal:define="table view/view/table;
activities view/view/activities"
i18n:domain="schooltool.lyceum.journal">
<div id="students-part" class="students gradebook-part">
<table>
<thead>
<tr>
<th rowspan="2" class="name"
tal:repeat="column view/view/name_sorting_columns"
tal:attributes="id column/name">
<a class="popup_link" href=""
tal:attributes="title column/title"
tal:content="column/title" />
</th>
<th i18n:translate="">Day</th>
</tr>
<tr>
<th i18n:translate="">Period</th>
</tr>
</thead>
<tbody>
<tr tal:repeat="row table">
<tal:loop repeat="column view/view/name_sorting_columns">
<td tal:attributes="id row/student/id;
colspan python:2 if repeat['column'].end() else 1">
<a class="popup_link"
href=""
tal:attributes="title row/student/title"
tal:content="python:row['student'][column.name]" />
</td>
</tal:loop>
</tr>
</tbody>
</table>
</div>
<div id="grades-part" class="grades gradebook-part">
<table>
<thead>
<tr>
<tal:loop repeat="activity activities">
<th tal:attributes="id activity/hash;
class activity/cssClass;
data-scores activity/scores;">
<a class="popup_link"
href=""
tal:attributes="title activity/longTitle;
href request/URL;"
tal:content="activity/shortTitle" />
</th>
</tal:loop>
<th class="placeholder" rowspan="2"> </th>
</tr>
<tr>
<th tal:repeat="activity activities"
tal:content="activity/period" />
</tr>
</thead>
<tbody>
<tal:block tal:repeat="row table">
<tal:block condition="row/has_hints">
<tal:block condition="repeat/row/even">
<tr class="grade-hint double-even">
<td tal:repeat="grade row/grades" tal:content="grade/hint" />
<td class="placeholder"> </td>
</tr>
<tr class="grade-score double-even">
<td tal:repeat="grade row/grades" tal:content="grade/value" />
<td class="placeholder"> </td>
</tr>
</tal:block>
<tal:block condition="repeat/row/odd">
<tr class="grade-hint double-odd">
<td tal:repeat="grade row/grades" tal:content="grade/hint" />
<td class="placeholder"> </td>
</tr>
<tr class="grade-score double-odd">
<td tal:repeat="grade row/grades" tal:content="grade/value" />
<td class="placeholder"> </td>
</tr>
</tal:block>
</tal:block>
<tal:block condition="not:row/has_hints"
define="even repeat/row/even;
trcls python: even and 'single-even' or 'single-odd'">
<tr tal:attributes="class trcls">
<td tal:repeat="grade row/grades"
tal:content="grade/value" />
<td class="placeholder"> </td>
</tr>
</tal:block>
</tal:block>
</tbody>
</table>
</div>
<div id="totals-part" class="totals gradebook-part">
<table>
<thead>
<tr>
<th id="column_absences">
<a class="popup_link" href="" i18n:translate="">Abs.</a>
</th>
<th id="column_tardies">
<a class="popup_link" href="" i18n:translate="">Trd.</a>
</th>
<th id="column_excused">
<a class="popup_link" href="" i18n:translate="">Exc.</a>
</th>
</tr>
</thead>
<tbody>
<tr tal:repeat="row table">
<td tal:content="row/absences" />
<td tal:content="row/tardies" />
<td tal:content="row/excused" />
</tr>
</tbody>
</table>
</div>
</div>
|