This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/intervention/browser/templates/intervention.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
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<tal:defs define="dummy view/update" />
<html metal:use-macro="view/@@standard_macros/page"
      i18n:domain="schooltool.intervention">
<head>
  <title metal:fill-slot="title" i18n:translate="">
    Student Intervention Center
  </title>
</head>
<body>

<metal:block metal:fill-slot="body">
  <form method="post" class="standalone" style="width: 70em"
        tal:attributes="action string:${context/@@absolute_url}">

    <h3 i18n:translate="">Student Intervention Center</h3>

    <div style="height: 11px;"></div>

    <table style="margin-left: 1em">
      <tr>
        <td>
          <b i18n:translate="">Student</b>
        </td>
        <td>&nbsp;</td>
        <td>
          <a href=""
             tal:content="view/studentName"
             tal:attributes="href view/studentURL">
             Student
          </a>
        </td>
        <td  style="width: 40px;" />
        <td>
          <label for="schoolyear"><b i18n:translate="">School Year</b></label>
        </td>
        <td>&nbsp;</td>
        <td>
          <select name="schoolyear"
                  onchange="this.form.submit()">
            <tal:block repeat="schoolyear view/schoolyears">
              <option value="1"
                  tal:condition="python:schoolyear['title'] != view.currentSchoolYear"
                  tal:attributes="value schoolyear/title"
                  tal:content="schoolyear/title" />
              <option value="1" selected="selected"
                  tal:condition="python:schoolyear['title'] == view.currentSchoolYear"
                  tal:attributes="value schoolyear/title"
                  tal:content="schoolyear/title" />
            </tal:block>
          </select>
        </td>
      </tr>
    </table>

    <div style="height: 11px;"></div>

    <fieldset>
      <legend><b i18n:translate="">Messages and Observations</b></legend>
      <tal:if condition="not: view/messages">
        <ul><li i18n:translate="">There are none.</li></ul>
      </tal:if>
      <tal:if condition="view/messages">
        <ul>
          <li tal:repeat="message view/messages">
            <a href="" tal:content="message/text"
               tal:attributes="href message/url">
               Message
            </a>
          </li>
        </ul>
      </tal:if>
      <div style="height: 5px;"></div>
      <div class="controls">
        <a class="button-ok" href="" i18n:translate=""
           tal:condition="view/isCurrentSchoolYear"
           tal:attributes="href view/newMessageURL">
           New Message
        </a>
        <a class="button-neutral" href="" i18n:translate=""
           tal:attributes="href view/allMessagesURL">
           View All Messages
        </a>
      </div>
    </fieldset>

    <div style="height: 1px;"></div>

    <fieldset>
      <legend><b i18n:translate="">Goals and Interventions</b></legend>
      <tal:if condition="not: view/goals">
        <ul><li i18n:translate="">There are none.</li></ul>
      </tal:if>
      <tal:if condition="view/goals">
        <ul>
          <li tal:repeat="goal view/goals">
            <a href="" tal:content="goal/text"
               tal:attributes="href goal/url">
               Goal
            </a>
          </li>
        </ul>
      </tal:if>
      <div style="height: 5px;"></div>
      <div class="controls">
        <a class="button-ok" href="" i18n:translate=""
           tal:condition="view/isCurrentSchoolYear"
           tal:attributes="href view/newGoalURL">
           New Goal
        </a>
        <a class="button-neutral" href="" i18n:translate=""
           tal:attributes="href view/allGoalsURL">
           View All Goals
        </a>
      </div>
    </fieldset>

    <div style="height: 1px;"></div>

    <fieldset>
      <legend><b i18n:translate="">Report Sheets</b></legend>
      <tal:if condition="not: view/terms">
        <ul><li i18n:translate="">There are none.</li></ul>
      </tal:if>
      <tal:if condition="view/terms">
        <ul>
          <li tal:repeat="term view/terms">
            <span tal:content="term/title" />
            <ul>
              <li tal:repeat="sheet term/sheets">
                <a href="" tal:content="sheet/text"
                   tal:attributes="href sheet/url">
                   Report Sheet
                </a>
              </li>
            </ul>
          </li>
        </ul>
      </tal:if>
    </fieldset>

    <div style="height: 1px;"></div>

    <fieldset>
      <legend><b i18n:translate="">Change of Status Messages</b></legend>
     <tal:if condition="not: view/statusMessages">
        <ul><li i18n:translate="">There are none.</li></ul>
      </tal:if>
      <tal:if condition="view/statusMessages">
        <ul>
          <li tal:repeat="message view/statusMessages">
            <a href="" tal:content="message/text"
               tal:attributes="href message/url">
               Change of Status Message
            </a>
          </li>
        </ul>
      </tal:if>
      <div style="height: 5px;"></div>
      <div class="controls">
        <a class="button-ok" href="" i18n:translate=""
           tal:condition="view/isCurrentSchoolYear"
           tal:attributes="href view/newStatusMessageURL">
           New Status Message
        </a>
        <a class="button-neutral" href="" i18n:translate=""
           tal:attributes="href view/allStatusMessagesURL">
           View All Status Messages
        </a>
      </div>
    </fieldset>
  </form>
</metal:block>

</body>
</html>