/usr/lib/python2.7/dist-packages/schooltool/intervention/browser/templates/person_list.pt is in python-schooltool.intervention 2.7.1-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 | <script>
function select_all_responsible() {
$('input.person_list').each(function (index) {
this.checked = !this.checked;
});
}
</script>
<table i18n:domain="schooltool.intervention" id="person_list">
<div style="color: red"
tal:condition="view/message" tal:content="view/message" />
<tr>
<td>
<span i18n:translate="">Staff</span>
<a href="javascript:select_all_responsible()"
tal:condition="view/enabled" i18n:translate="">
Select All
</a>
</td>
<td i18n:translate="">Student and Contacts</td>
</tr>
<tr>
<td style="vertical-align: top; horizontal-align: left; width: 20em">
<tal:block repeat="person view/responsible">
<input type="checkbox" class="person_list"
tal:attributes="name person/name; checked person/checked" />
<span tal:condition="python: view.canEmail(person)">
<b tal:content="person/value" />
</span>
<span tal:content="person/value"
tal:condition="python: not view.canEmail(person)" />
<br />
</tal:block>
</td>
<td style="vertical-align: top; horizontal-align: left; width: 20em">
<tal:block repeat="person view/notified">
<input type="checkbox" class="notified_list"
tal:attributes="name person/name; checked person/checked" />
<span tal:condition="python: view.canEmail(person)">
<b tal:content="person/value" />
</span>
<span tal:content="person/value"
tal:condition="python: not view.canEmail(person)" />
<br />
</tal:block>
<tal:block condition="view/changed">
<div style="height: 1em"></div>
<span i18n:translate="">Changed Status</span>
<div style="height: .5em"></div>
<tal:block repeat="person view/changed">
<input type="checkbox" class="changed_list"
tal:attributes="name person/name; checked person/checked" />
<span tal:condition="python: view.canEmail(person)">
<b tal:content="person/value" />
</span>
<span tal:content="person/value"
tal:condition="python: not view.canEmail(person)" />
<br />
</tal:block>
</tal:block>
</td>
</tr>
</table>
|