This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/f_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
<div i18n:domain="schooltool.gradebook"
     tal:define="rows view/table">
  <form>
  <table class="highlight-rows" tal:condition="rows">
    <thead>
      <tr>
        <th i18n:translate="">Title</th>
        <th i18n:translate="">Default</th>
        <th tal:condition="context/schooltool:can_edit"
            i18n:translate="">Delete</th>
      </tr>
    </thead>
    <tr tal:repeat="row rows">
      <td>
        <span tal:content="row/title" />
        <a class="modify" href=""
           title="Edit this category"
           tal:condition="context/schooltool:can_edit"
           tal:attributes="href string:${context/@@absolute_url}/edit.html?category=${row/form_key}"
           i18n:attributes="title">
          <img tal:attributes="src context/++resource++schooltool.skin.flourish/edit-icon.png"
               alt="Edit"
               i18n:attributes="alt" />
        </a>
      </td>
      <td>
        <span tal:condition="python:row['key'] == context.default_key"
              class="ui-icon ui-icon-check"></span>
      </td>
      <td tal:condition="context/schooltool:can_edit">
          <button class="image" type="submit" title="Delete" value="1"
                  tal:attributes="name string:delete.${row/form_key};"
                  i18n:attributes="title">
            <img alt="Delete" i18n:attributes="alt"
                 tal:attributes="src context/++resource++schooltool.skin.flourish/remove-icon.png" />
          </button>
      </td>
    </tr>
  </table>
  </form>
  <h3 i18n:translate=""
      tal:condition="not:rows">There are no activity categories.</h3>
  <h3 class="done-link" i18n:domain="schooltool">
    <a tal:attributes="href string:${context/schooltool:app/@@absolute_url}/manage"
       i18n:translate="">Done</a>
  </h3>
</div>