aboutsummaryrefslogtreecommitdiff
path: root/data/templates/display-sidebar-history.htm
blob: 8db30e9eeee3e94e0fa533011ee6adeb0c41947b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<h4>History</h4>

<ul class="history unstyled">
{% for commit in repo.getHistory %}
 <li class="row-fluid {% if commit.hash == repo.hash or (repo.hash == '' and loop.first) %}active{%endif%}">
  {% spaceless %}
  {% for dot in commit.getDots %}
  <img src="phorkie/dot-{{dot}}.png" alt="" style="padding-left:1px" width="4" height="4"/>
  {% endfor %}
  {% endspaceless %}
  <a class="hash" rel="nofollow" href="{{repo.getLink('revision', commit.hash)}}">{{commit.hash|slice(0, 6)}}</a>
  <img class="avatar-tiny" src="{{commit.getIconUrl}}" alt="{{commit.committerName}}" title="{{commit.committerName}}" width="20" height="20"/>
  <span class="nobr" title="{{commit.committerTime|date('c')}}">
   <span class="indent visible-tablet"></span>
   {{dh.get(commit.committerTime)}}
  </span>
 </li>
{% else %}
<p>No commits yet</p>
{% endfor %}
</ul>