Make phorkie search engine friendlier
[phorkie.git] / data / templates / display-sidebar-history.htm
index b3ef9df3f0e0aba95ce407f48251fc9e95f3ffb6..8db30e9eeee3e94e0fa533011ee6adeb0c41947b 100644 (file)
@@ -1,18 +1,21 @@
-<h3>History</h3>
+<h4>History</h4>
 
 <ul class="history unstyled">
 {% for commit in repo.getHistory %}
- <li {% if commit.hash == repo.hash or (repo.hash == '' and loop.first) %}class="active"{%endif%}>
+ <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"/>
+  <img src="phorkie/dot-{{dot}}.png" alt="" style="padding-left:1px" width="4" height="4"/>
   {% endfor %}
   {% endspaceless %}
-  <a class="hash" href="{{repo.getLink('revision', commit.hash)}}">{{commit.hash|slice(0, 6)}}</a>
-  <img src="{{commit.getIconUrl}}" alt="{{commit.committerName}}" title="{{commit.committerName}}" width="20"/>
-  <span title="{{commit.committerTime|date('c')}}">{{dh.get(commit.committerTime)}}</span>
+  <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>
\ No newline at end of file
+</ul>