/usr/lib/python2.7/dist-packages/schooltool/intervention/browser/templates/f_section_interventions.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 | <tal:block i18n:domain="schooltool.intervention">
<metal:block tal:replace="structure string:<script type="text/javascript">" />
email_dialog_title = '<tal:block i18n:translate="">Email notification</tal:block>';
$(document).ready(function() {
var container = $('#email-dialog-container');
if (container.length) {
container.dialog({'title': email_dialog_title, 'resizable': false,
'width': 306, 'minHeight': 105, 'dialogClass': 'narrow-dialog',
'modal': true});
var ok_button = container.find('input[name="OK"]');
ok_button.click(function(e) {
container.dialog('close');
return false;
});
}
});
<metal:block tal:replace="structure string:</script>" />
<div id="email-dialog-container"
tal:define="email view/email"
tal:condition="email">
<p tal:repeat="message email"
tal:content="message" />
<form>
<div class="buttons">
<input type="submit" class="button-ok" name="OK"
value="OK" i18n:attributes="value" />
</div>
</form>
</div>
<table>
<thead>
<tr>
<th tal:repeat="heading view/headings"
tal:content="heading" />
</tr>
</thead>
<tr tal:repeat="student view/listStudents">
<td>
<a tal:attributes="href student/url"
tal:content="student/name">Student Name</a>
</td>
<td tal:repeat="link student/links">
<a tal:condition="link/title"
tal:attributes="href link/url"
tal:content="link/title" />
<a tal:condition="not: link/title" title="Add Message"
tal:attributes="href link/url"
i18n:attributes="title">
<img alt="Add Message"
tal:attributes="src context/++resource++schooltool.skin.flourish/add-icon.png"
i18n:attributes="alt" />
</a>
</td>
</tr>
</table>
<h3 class="done-link" i18n:domain="schooltool">
<a tal:attributes="href string:${context/@@absolute_url}"
i18n:translate="">Done</a>
</h3>
</tal:block>
|