This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/intervention/browser/templates/f_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
<metal:block tal:replace="structure string:&lt;script type=&quot;text/javascript&quot;&gt;" />
    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:&lt;/script&gt;" />
<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>
<form method="post" class="standalone"
      tal:attributes="action string:${context/@@absolute_url}"
      i18n:domain="schooltool.intervention">
  <div class="viewspace">
    <h3>
      <span i18n:translate="">Goals</span>
      <a href="goals/addGoal.html" title="Add Goal"
         i18n:attributes="title"
         tal:condition="view/canModify">
        <img alt="Add Goal"
             tal:attributes="src context/++resource++schooltool.skin.flourish/add-icon.png"
             i18n:attributes="alt" />
      </a>
    </h3>
    <table>
      <thead>
        <tr>
          <th i18n:translate="">Goal</th>
          <th i18n:translate="">Added</th>
          <th i18n:translate="">Due</th>
          <th i18n:translate="">Status</th>
        </tr>
      </thead>
      <tal:if condition="not: view/goals">
        <tr>
          <td colspan="2" i18n:translate="">There are none.</td>
        </tr>
      </tal:if>
      <tal:if condition="view/goals">
        <tr tal:repeat="goal view/goals">
          <td>
            <a tal:content="goal/name"
               tal:attributes="href goal/url" />
          </td>
          <td>
            <a tal:content="goal/added"
               tal:attributes="href goal/url" />
          </td>
          <td>
            <a tal:content="goal/due"
               tal:attributes="href goal/url" />
          </td>
          <td>
            <a tal:content="goal/status"
               tal:attributes="href goal/url" />
          </td>
        </tr>
      </tal:if>
    </table>
    <p tal:condition="view/goals">
      <a href="goals/allGoals.html" i18n:translate="">More...</a>
    </p>

    <h3>
      <span i18n:translate="">Messages</span>
      <a href="messages/addMessage.html" title="Add Message"
         i18n:attributes="title"
         tal:condition="view/canModify">
      <img alt="Add Message"
           tal:attributes="src context/++resource++schooltool.skin.flourish/add-icon.png"
           i18n:attributes="alt" />
    </a>
    </h3>
    <table>
      <thead>
        <tr>
          <th i18n:translate="">From</th>
          <th i18n:translate="">Subject</th>
          <th i18n:translate="">Sent</th>
        </tr>
      </thead>
      <tal:if condition="not: view/messages">
        <tr>
          <td colspan="2" i18n:translate="">There are none.</td>
        </tr>
      </tal:if>
      <tal:if condition="view/messages">
        <tr tal:repeat="message view/messages">
          <td>
            <a tal:content="message/from"
               tal:attributes="href message/url" />
          </td>
          <td>
            <a tal:content="message/subject"
               tal:attributes="href message/url" />
          </td>
          <td>
            <a tal:content="message/sent"
               tal:attributes="href message/url" />
          </td>
        </tr>
      </tal:if>
    </table>
    <p tal:condition="view/messages">
      <a href="messages/allMessages.html" i18n:translate="">More...</a>
    </p>
  </div>
</form>