Starting to hook up "orphaned" actions.
[catagits/Gitalist.git] / root / blob.tt2
CommitLineData
f5da8e7a 1<link rel="stylesheet" type="text/css" href="/static/css/syntax/[% language %].css"/>
b3fa97cd 2
61b56ed6 3[% PROCESS 'nav/actions.tt2' object = head %]
b254ff6b 4[% IF object.type == 'commit' %]
c8870bd3 5<div class='commit-message'>
6[% head.comment.substr(0, 85) %] ...
7</div>
b254ff6b 8[% END %]
c8870bd3 9<div class='path'>
da8f4f82 10 <a href="[% c.uri_for("tree", {hb=head.sha1}) %]">[% Project.name %]</a>
c8870bd3 11 [% # XXX The last part should link to blob_plain (or something) but doesn't ATM
12 FOREACH part IN filename.split('/') %]
f71a83ab 13 / <a href="[% c.uri_for("tree", {hb=head.sha1}) %]">[% part %]</a>
c8870bd3 14 [% END %]
15</div>
295c9703 16<div>
c8870bd3 17 <pre class='blob'>[% blob %]</pre>
295c9703 18</div>