X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Ffragment%2Fref%2Fcommit.tt2;h=c213aeafd4cad592e9638debc6e8b91a003ca218;hb=225bd36dbf284adf49ae0bffe0fc482f228c0011;hp=cc0ee50ad8ee8d98a48f010a55ba6a32c0ac49bf;hpb=2980657b3a81921f42d9ae577d42226746a720fa;p=catagits%2FGitalist.git diff --git a/root/fragment/ref/commit.tt2 b/root/fragment/ref/commit.tt2 old mode 100644 new mode 100755 index cc0ee50..c213aea --- a/root/fragment/ref/commit.tt2 +++ b/root/fragment/ref/commit.tt2 @@ -1,35 +1,61 @@ -
- [% - short_cmt(Commit.comment) | html; - INCLUDE '_refs.tt2' object = commit; - %] -
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ID (sha1)Last changeMessageByRole
[% INCLUDE 'inc/chroma_hash.tt2' sha1 = Commit.sha1.substr(0, 7) %][% time_since(Commit.authored_time) %] +

[% Commit.comment | html %]

+ [% INCLUDE '_refs.tt2' object = commit %] +
[% INCLUDE 'inc/gravatar.tt2' email = Commit.author.email %][% Commit.author.name | html %]Author
[% time_since(Commit.committed_time) %][% INCLUDE 'inc/gravatar.tt2' email = Commit.committer.email %][% Commit.committer.name %]Committer
-
-
author
-
[% Commit.author.name | html %] <[% Commit.author.email %]>
- [% time_since(Commit.authored_time) %]
-
committer
-
[% Commit.committer.name %] <[% Commit.committer.email %]>
- [% time_since(Commit.committed_time) %]
-
commit
-
[% Commit.sha1 %]
-
tree
-
[% Commit.tree_sha1 %] - tree -
- [% FOREACH parent IN Commit.parents %] -
parent
-
[% parent.sha1 %] - - commit - diff - -
- [% END %] -
+ + + + + + + + + + + + + + + [% FOREACH parent IN Commit.parents %] + + + + + +[% END %] +
[% INCLUDE 'inc/chroma_hash.tt2' sha1 = Commit.sha1.substr(0, 7), hide_sha1_output = 1 %]
Commit
[% Commit.sha1 %]diff
[% INCLUDE 'inc/chroma_hash.tt2' sha1 = Commit.tree_sha1.substr(0, 7), hide_sha1_output = 1 %]
Tree
[% Commit.tree_sha1 %]tree
[% INCLUDE 'inc/chroma_hash.tt2' sha1 = parent.sha1.substr(0, 7), hide_sha1_output = 1 %]
Parent
[% parent.sha1 %] + commit + diff +
+ -
[% Commit.comment | html%]
[% # In the case of merge commits there will be no diff tree.