/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/f_report_card_layout.pt is in python-schooltool.gradebook 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 | <div i18n:domain="schooltool.gradebook"
tal:define="columns view/columns; activities view/outline_activities">
<form method="post" class="standalone"
tal:condition="view/has_schoolyear"
tal:attributes="action request/getURL">
<input type="hidden" name="schoolyear_id"
tal:attributes="value request/schoolyear_id|nothing" />
<div>
<h3 i18n:translate="">Grid Columns</h3>
<table>
<thead>
<tr>
<th i18n:translate="">Grid Column</th>
<th i18n:translate="">Heading</th>
<th i18n:translate="">Delete</th>
</tr>
</thead>
<tr tal:repeat="column columns">
<td>
<span tal:content="column/source_value" />
<a class="modify" href="" title="Edit"
tal:attributes="href column/source_edit"
i18n:attributes="title">
<img tal:attributes="src context/++resource++schooltool.skin.flourish/edit-icon.png"
alt="Edit"
i18n:attributes="alt" />
</a>
</td>
<td tal:content="column/heading_value" />
<td>
<button class="image" type="submit" title="Delete" value="1"
tal:attributes="name string:delete_column.${column/source_index};"
i18n:attributes="title">
<img alt="Delete" i18n:attributes="alt"
tal:attributes="src context/++resource++schooltool.skin.flourish/remove-icon.png" />
</button>
</td>
</tr>
<tr tal:condition="not: columns">
<td colspan="2" i18n:translate="">This report has no grid columns.</td>
</tr>
</table>
</div>
<div>
<h3 i18n:translate="">Outline Items</h3>
<table>
<thead>
<tr>
<th i18n:translate="">Outline Item</th>
<th i18n:translate="">Heading</th>
<th i18n:translate="">Delete</th>
</tr>
</thead>
<tr tal:repeat="activity activities">
<td>
<span tal:content="activity/source_value" />
<a class="modify" href="" title="Edit"
tal:attributes="href activity/source_edit"
i18n:attributes="title">
<img tal:attributes="src context/++resource++schooltool.skin.flourish/edit-icon.png"
alt="Edit"
i18n:attributes="alt" />
</a>
</td>
<td tal:content="activity/heading_value" />
<td>
<button class="image" type="submit" title="Delete" value="1"
tal:attributes="name string:delete_activity.${activity/source_index};"
i18n:attributes="title">
<img alt="Delete" i18n:attributes="alt"
tal:attributes="src context/++resource++schooltool.skin.flourish/remove-icon.png" />
</button>
</td>
</tr>
<tr tal:condition="not: activities">
<td colspan="2" i18n:translate="">This report has no outline items.</td>
</tr>
</table>
</div>
</form>
<h3 class="done-link" i18n:domain="schooltool">
<a tal:attributes="href view/nextURL"
i18n:translate="">Done</a>
</h3>
</div>
|