Fixed the links in the history view.
[catagits/Gitalist.git] / root / inc / chroma_hash.tt2
CommitLineData
592b68ef 1[%- sha1 = sha1 || HEAD -%]
2<span class='chroma-hash'>[%-
1fd8159c 3 hptr = 0;
4 WHILE hptr < sha1.length - 6;
5 sha1part = sha1.substr(hptr, 6);
6 "<span style='border-bottom: solid 4px #" _ sha1part _ ";'>" _ sha1part _ "</span>";
7 hptr = hptr + 6;
8 END;
592b68ef 9-%]</span>