File: view

package info (click to toggle)
libsvn-web-perl 0.63-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 668 kB
  • ctags: 105
  • sloc: perl: 1,958; sh: 73; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[% PROCESS header %]

[% PROCESS _action_menu %]
[% PROCESS _log_msg %]

<table id="info" summary="[%|l%](revision log)[%END%]">
  <tr>
    <th scope="row">
[%|l%](revision)[%END%] <a href="[% c.script %]/[% c.repos | uri %]/revision?rev=[% rev %]">[% rev %]</a> (by [% author || '(no author)' %], [% date %])</th>
    <td class="message">[% log_msg(msg) %]</td>
  </tr>
</table>

<div id="preview">
  [% IF mimetype.match('^text/') %]
    <pre class="code-block">[% file | html %]</pre>
  [% ELSIF mimetype.match('^image/') %]
    <img src="[% c.script %]/[% c.repos | uri %]/checkout[% c.path | url%]" />
  [% ELSE %]
<p>This file can not be displayed in the browser.  You can <a href="[% c.script %]/[% c.repos | uri %]/checkout[% c.path | url %]">download it</a>.</p>
  [% END %]
</div>
[% PROCESS footer %]