summaryrefslogtreecommitdiff
path: root/templates/webmail/displayheaders.html.ep
blob: d823d9e37ede266ddb23c5953ba1b9bd47addf7d (plain)
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
% layout 'mainlayout';

<table id=displayheaders>

  <thead>
    <tr>
      <td id=folders>
        %= include 'headers/_displayfolders';
      </td>
    </tr>

% if (my $loginmessage = stash 'loginmessage') {
    <tr>
      <td id=loginmessage> <%= $loginmessage %> </td>
    </tr>
% }

    <tr>
      <td id=navigation>
        %= include 'headers/_display_top_nav';
      </td>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
% if (@$msgs) {
        %= include 'headers/_display_headers';
% }
% else {
        <p id=empty> <%= l 'empty_folder' %> </p>
% }
      </td>
    </tr>
  </tbody>

  <tfoot>
    <tr>
      <td class=navigation>
        %= include 'headers/_display_bot_nav';
      </td>
    </tr>
  </tfoot>

</table>