2015-11-18 02:05:13 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2012-09-16 13:17:56 +03:00
|
|
|
<head>
|
|
|
|
<title>git » {{repo.name}} » commit {{c.id[:7]}}</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../../static/git-arr.css"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../../static/syntax.css"/>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
2015-11-18 02:05:13 +02:00
|
|
|
<meta name=viewport content="width=device-width, initial-scale=1">
|
2012-09-16 13:17:56 +03:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="commit">
|
|
|
|
<h1><a href="../../../../">git</a> »
|
|
|
|
<a href="../../">{{repo.name}}</a> » commit {{c.id[:7]}}
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<h2>{{c.subject}}</h2>
|
|
|
|
|
|
|
|
<table class="nice commit-info">
|
|
|
|
<tr><td>author</td>
|
|
|
|
<td><span class="name">{{c.author_name}}</span>
|
|
|
|
<span class="email"><{{c.author_email}}></span><br/>
|
|
|
|
<span class="date" title="{{c.author_date}}">
|
|
|
|
{{c.author_date.utc}} UTC</span></td></tr>
|
|
|
|
<tr><td>committer</td>
|
2013-11-03 12:57:54 +02:00
|
|
|
<td><span class="name">{{c.committer_name}}</span>
|
|
|
|
<span class="email"><{{c.committer_email}}></span><br/>
|
|
|
|
<span class="date" title="{{c.committer_date}}">
|
|
|
|
{{c.committer_date.utc}} UTC</span></td></tr>
|
2012-09-16 13:17:56 +03:00
|
|
|
|
|
|
|
% for p in c.parents:
|
|
|
|
<tr><td>parent</td>
|
|
|
|
<td><a href="../{{p}}/">{{p}}</a></td></tr>
|
|
|
|
% end
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
<pre class="commit-message">
|
|
|
|
{{c.message.strip()}}
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
% if c.diff.changes:
|
|
|
|
|
|
|
|
<table class="nice changed-files">
|
|
|
|
% for added, deleted, fname in c.diff.changes:
|
|
|
|
<tr>
|
|
|
|
<td class="main">{{!fname.html}}</td>
|
|
|
|
<td><span class="lines-added">+{{added}}</span></td>
|
|
|
|
<td><span class="lines-deleted">-{{deleted}}</span></td>
|
|
|
|
</tr>
|
|
|
|
% end
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
2012-11-14 02:48:46 +02:00
|
|
|
% if can_colorize(c.diff.body):
|
2022-09-26 04:43:55 +03:00
|
|
|
<div class="colorized-src">
|
2012-09-16 13:17:56 +03:00
|
|
|
{{!colorize_diff(c.diff.body)}}
|
2022-09-26 04:43:55 +03:00
|
|
|
</div>
|
2012-09-16 13:17:56 +03:00
|
|
|
% else:
|
|
|
|
<pre class="diff-body">
|
|
|
|
{{c.diff.body}}
|
|
|
|
</pre>
|
|
|
|
% end
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
% end
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|