summaryrefslogtreecommitdiff
path: root/d/sys/lampion/local/lib/svnlog/html.tt
blob: f6c05b837d3280fbbd660ad1e275997027b030e8 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
[% USE date %]
[% BLOCK msg %]
 [% FOREACH msg = msgs %]
  [% msg %] <br/>
 [% END %]
[% END %]
[% BLOCK files_list %]
 <ul>
 [% FOREACH f = files %]
  <li>[% f %]</li>
 [% END %]
 </ul>
[% END %]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
 <title>Log Svn </title>
 <link rel="stylesheet" type="text/css" href="svnlog.css" media="screen" title="Normal" />
 <link rel="alternate stylesheet" type="text/css" href="" media="screen" title="Sans habillage" />
 </head>
 <body><div id="page">
  [% FOREACH r = revisions -%]
  [% IF r.msg.size () > 0 %]
  <div class="ci">
  <div class="date">[% date.format (r.date, 'le %D  %H:%S') %]</div>
   <div class="rev">R�vision : [% r.rev %]</div>
   <div class="author">
   	<h3> Auteur : </h3>
	<p>[% r.author %]</p>
   </div>
   <div class="log">
   	<h3>Message : </h3>
	<p>[% PROCESS msg msgs = r.msg %]</p>
   </div>
   [% IF r.exists ('upd') %]
     <div class="log">
      <h3>Fichiers modifi�s :</h3>
      [% PROCESS files_list files = r.upd %] 
     </div>
   [% END %]
   [% IF r.exists ('add') %]
     <div class="log">
       <h3>Fichiers ajout�s :</h3>
     [% PROCESS files_list files = r.add %] 
     </div>
   [% END %]
   [% IF r.exists ('del') %]
     <div class="log">
       <h3>Fichiers supprim�s :</h3>
     [% PROCESS files_list files = r.del %] 
     </div>
   [% END %]
  </div>
  [% END %]
  [% END -%]
 </div></body>
</html>