Commit fcd92f9d958eab891e4a94ffa8b0aad93012acd0
1 parent
bbb0d24d
Exists in
master
and in
4 other branches
Browse button in commit list
Showing
1 changed file
with
15 additions
and
10 deletions
Show diff stats
app/views/commits/_commit.html.haml
| 1 | -%li.entry | |
| 2 | - = link_to project_commit_path(@project, :id => commit.id) do | |
| 3 | - %div | |
| 4 | - %code= commit.id.to_s[0..10] | |
| 5 | - – | |
| 6 | - = image_tag gravatar_icon(commit.author_email), :class => "", :width => 16 | |
| 7 | - = truncate(commit.safe_message, :length => 50) | |
| 1 | +%li | |
| 2 | + .row | |
| 3 | + .span12 | |
| 4 | + .entry | |
| 5 | + = link_to project_commit_path(@project, :id => commit.id) do | |
| 6 | + %p | |
| 7 | + %code= commit.id.to_s[0..10] | |
| 8 | + – | |
| 9 | + = image_tag gravatar_icon(commit.author_email), :class => "", :width => 16 | |
| 10 | + = truncate(commit.safe_message, :length => 50) | |
| 8 | 11 | |
| 9 | - %span.right.cgray | |
| 10 | - = time_ago_in_words(commit.committed_date) | |
| 11 | - ago | |
| 12 | + %span.right.cgray | |
| 13 | + = time_ago_in_words(commit.committed_date) | |
| 14 | + ago | |
| 15 | + .span2 | |
| 16 | + = link_to "Browse Code", tree_project_ref_path(@project, commit.id), :class => "btn small" | |
| 12 | 17 | ... | ... |