This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/report_worksheet_overview.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
<tal:define define="dummy view/update"/>
<html metal:use-macro="view/@@standard_macros/page" i18n:domain="schooltool.gradebook">
<head>
  <title metal:fill-slot="title" i18n:translate="">Report Worksheet</title>
</head>
<body>

<h1 metal:fill-slot="content-header"
    i18n:translate="">Activities of <metal:block i18n:name="title" tal:content="context/title" /></h1>

<metal:block metal:fill-slot="body"
             tal:define="activities view/activities">

  <p tal:condition="view/isTemplate" i18n:translate="">
    A report sheet template defines the activities to be included in a report sheet deployed to each section in a term or year.
  </p>

  <form method="post"
        tal:attributes="action string:${context/@@absolute_url}">
    <input type="hidden" name="form-submitted" value="" />
    <div tal:condition="python: len(list(context.values())) == 0"
         tal:content="view/noActivitiesMessage" />
    <div tal:repeat="activity activities">
      <select name=""
              onchange="this.form.submit()"
              tal:attributes="name string:pos.${activity/name}">
        <tal:block repeat="num view/positions">
          <option value="1"
              tal:condition="python:num != activity['pos']"
              tal:attributes="value num"
              tal:content="num" />
          <option value="1" selected="selected"
              tal:condition="python:num == activity['pos']"
              tal:attributes="value num"
              tal:content="num" />
        </tal:block>
      </select>
      <input type="checkbox" name="delete:list"
             tal:condition="not: activity/deployed"
             tal:attributes="value activity/name" />

      <a tal:condition="not: activity/deployed"
         tal:content="activity/title"
         tal:attributes="href activity/url">Activity</a>
      <span tal:condition="activity/deployed"
            tal:content="activity/title">Activity</span>

    </div>
    <div class="controls" tal:condition="view/canModify">
      <tal:block tal:condition="python: len(list(context.values())) > 0">
        <tal:block tal:condition="view/canModify"
                   metal:use-macro="view/@@standard_macros/delete-button" />
      </tal:block>
    </div>
  </form>
</metal:block>
</body>
</html>