MOVED templates/mail/repo_daily_changes.html to templates/mail/repo_daily_changes...
authorAlan Knowles <alan@roojs.com>
Sat, 3 Nov 2012 04:06:35 +0000 (12:06 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 3 Nov 2012 04:06:35 +0000 (12:06 +0800)
templates/mail/repo_daily_changes.html.old [new file with mode: 0644]

diff --git a/templates/mail/repo_daily_changes.html.old b/templates/mail/repo_daily_changes.html.old
new file mode 100644 (file)
index 0000000..35db42c
--- /dev/null
@@ -0,0 +1,129 @@
+
+
+
+<style>
+    
+table.code.diff {
+  border-collapse: collapse;
+  border: 1px solid #d3d3d0;
+  width: 100%;
+  margin-bottom: 3em;
+}
+
+table.code.diff tr.removed {
+  background-color: rgb(255, 221, 221);
+}
+table.code.diff tr.added {
+  background-color: rgb(221, 255, 221);
+}
+
+table.code.diff tr td {
+  white-space: pre;
+  font-family: 'Consolas', 'Bitstream Vera Sans Mono',
+    'Monaco', 'Courier New', 'Courier', monospace;
+  color: black;
+  line-height: 1.5em;
+  overflow-x: auto;
+  word-wrap: break-word;
+  font-size: 8pt;
+}
+
+table.code.diff tr td.line {
+  padding-left: 1.5em;
+  border-left: 1px solid #d3d3d0;
+}
+table.code.diff tr.first {
+  border-top: 1px solid #d3d3d0;
+}
+
+table.code.diff tr td.lineno {
+  text-align: right;
+  padding-right: 1em;
+  width: 1%;
+}
+
+table.code.diff tr.meta td.line {
+  border: none;
+}
+
+pre.code.diff {
+  border: 1px solid #d3d3d0;
+  color: #939399;
+}
+
+.code.diff code {
+  width: 100%;
+  margin: 0;
+  padding: 0;
+  color: black;
+  line-height: 1.5em;
+  display: inline-block;
+  overflow-x: auto;
+  word-wrap: break-word;
+}
+ .code.diff code.odd {
+  background-color: #f7f7f7;
+}
+.code.diff code.even {
+  background-color: #fcfcfc;
+}
+.code.diff code.removed {
+  background-color: rgb(255, 221, 221);
+}
+.code.diff code.added {
+  background-color: rgb(221, 255, 221);
+}
+
+
+
+</style>
+
+<h1>Changes for {repo.shortname}</h1>
+
+<table>
+    <tr>
+        <td>File / Who Changed it</td>
+        <td flexy:foreach="changers,person,one">{person}</td>
+    </tr>
+    <tr flexy:foreach="summary,fname,peeps">
+        <td flexy:if="repo.array_value(filelinks,fname)"><a href="#{repo.array_values(filelinks,name)}">{fname}</a></td>
+        <td flexy:if="!repo.array_value(filelinks,fname)">{fname}</td>
+        <td flexy:foreach="changers,person,one">{repo.array_value(summary,fname,person)}</td>
+    </tr>
+    
+</table> 
+
+<div flexy:foreach="files,filename,lines">
+    
+    <h2>{filename}</h2>
+    <pre>{lines}</pre>
+    
+<!--
+
+    <table class="code diff"> 
+        <tr flexy:foreach="lines,line"
+                class="{line.cls}">
+            
+            <td flexy:if="line.meta" colspan="4" width="100%"><a name="{line.anchor}">{line.text}</a></td>
+            
+            <td flexy:if="line.added" class='lineno'></td>
+            <td flexy:if="line.added" class='lineno'>{line.no[1]}</td>
+            
+            <td flexy:if="line.removed" class='lineno'>{line.no[0]}</td>
+            <td  flexy:if="line.removed" class='lineno'></td>
+            
+            <td flexy:if="line.unmod" class='lineno'>{line.no[0]}</td>
+            <td flexy:if="line.unmod" class='lineno'>{line.no[1]}</td>
+            
+            
+            
+            
+            <td flexy:if="!line.meta" class='linelink'><a name='{line.anchor}'></a><a
+                href='{line.anchor}' title='link to this line'>#</a></td>
+            
+            <td flexy:if="!line.meta" class="line" width="100%">{line.text}</td>
+        </tr>
+                
+    </table>
+    -->
+</div>
\ No newline at end of file