This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/categories.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:defs define="dummy view/update" />
<html metal:use-macro="view/@@standard_macros/page" i18n:domain="schooltool.gradebook">
<head>
  <title metal:fill-slot="title" i18n:translate="">
    Manage Activity Categories
  </title>
</head>
<body>
<metal:nothing metal:fill-slot="content-header" />
<metal:block metal:fill-slot="body">

  <form action="." method="post" tal:attributes="action request/URL"
        class="standalone" enctype="multipart/form-data">

    <h3 i18n:translate="">
      Manage Activity Categories
    </h3>

    <p i18n:translate="">
      Categories are used in SchoolTool's gradebook to organize activities and to allow teachers to weight different types of activities differently to calculate grades. For example, the grade in a section might be comprised of 60% test scores, 20% homework and 20% class participation.
    </p>
    <p i18n:translate="">
      Currently, the list of available categories for all teachers is managed through this form. That is, if one or more teachers would like to use a category not in the current list, the site manager can add it here. Likewise, if some of the default categories are not relevant to your school, remove them below.
    </p>

    <div class="info" tal:condition="view/message" tal:content="view/message" />

    <div class="row" tal:define="widget nocall:view/categories_widget">
      <div metal:use-macro="context/@@form_macros/widget_row" />
    </div>

    <div class="controls">
        <input type="submit" class="button-cancel" name="REMOVE" value="Remove"
               i18n:attributes="value remove-button" />
    </div>

    <div class="row" tal:define="widget nocall:view/newCategory_widget">
      <div metal:use-macro="context/@@form_macros/widget_row" />
    </div>

    <div class="controls">
        <input type="submit" class="button-ok" name="ADD" value="Add"
               i18n:attributes="value add-button;" />
    </div>

    <div class="row" tal:define="widget nocall:view/defaultCategory_widget">
      <div metal:use-macro="context/@@form_macros/widget_row" />
    </div>

    <div class="controls">
        <input type="submit" class="button-ok" name="CHANGE" value="Change"
               i18n:attributes="value change-button;" />
    </div>
  </form>

</metal:block>
</body>
</html>