Standardize sidebars
[phorkie.git] / data / templates / display-sidebar-history.htm
1 <h4>History</h4>
2
3 <ul class="history unstyled">
4 {% for commit in repo.getHistory %}
5  <li class="row-fluid {% if commit.hash == repo.hash or (repo.hash == '' and loop.first) %}active{%endif%}">
6   {% spaceless %}
7   {% for dot in commit.getDots %}
8   <img src="/phorkie/dot-{{dot}}.png" alt="" style="padding-left:1px" width="4" height="4"/>
9   {% endfor %}
10   {% endspaceless %}
11   <a class="hash" href="{{repo.getLink('revision', commit.hash)}}">{{commit.hash|slice(0, 6)}}</a>
12   <img src="{{commit.getIconUrl}}" alt="{{commit.committerName}}" title="{{commit.committerName}}" width="20"/>
13   <span class="nobr" title="{{commit.committerTime|date('c')}}">
14    <span class="indent visible-tablet"></span>
15    {{dh.get(commit.committerTime)}}
16   </span>
17  </li>
18 {% else %}
19 <p>No commits yet</p>
20 {% endfor %}
21 </ul>