public
Fork of sr/git-wiki
Description: A wiki engine that uses a Git repository as its data store.
Homepage: http://atonie.org/2008/02/git-wiki
Clone URL: git://github.com/al3x/git-wiki.git
Search Repo:
schacon (author)
Sat Mar 08 12:27:38 -0800 2008
commit  3fe21594034d22381cc5dbbfef0181b3949e2893
tree    ab87643e09b020797f15477bc5d84965511b5697
parent  e7718c564e758a37489123ba3a097261e73b0369
git-wiki / views / branch_history.erb
100644 15 lines (14 sloc) 0.392 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1>Branch History</h1>
 
<table width="100%">
<% @history.each do |commit| %>
  <tr>
    <td><code><%= commit.sha[0, 8] %></code></td>
    <td><small><%= commit.date %></small></td>
    <td><%= commit.message %></td>
    <td><%= commit.name %></td>
    <% if commit != @history.first %>
    <td><a href="/a/revert_branch/<%= commit.sha %>">revert</td>
    <% end %>
  </tr>
<% end %>
</table>