36 lines
833 B
Plaintext
36 lines
833 B
Plaintext
- content_for(:body_class, "project-page commits-page")
|
|
|
|
-#%a.right.button{:href => "#"} Download
|
|
-#-if can? current_user, :admin_project, @project
|
|
%a.right.button.blue{:href => "#"} EDIT
|
|
%h2.icon
|
|
%span
|
|
%d
|
|
= "#{truncate(@commit.safe_message, :length => 50)}"
|
|
.right
|
|
= link_to 'Browse Code', tree_project_ref_path(@project, @commit.id), :class => "button"
|
|
-#= link_to 'Back', project_commits_path(@project), :class => "button"
|
|
%table.round-borders
|
|
%thead
|
|
%th{:colspan => 2} Details
|
|
%tr
|
|
%td ID
|
|
%td= @commit.id
|
|
%tr
|
|
%td Author
|
|
%td= @commit.author_name
|
|
%tr
|
|
%td Commited Date
|
|
%td= @commit.committed_date.stamp("21 Aug 2011, 11:15pm")
|
|
%tr
|
|
%td Message
|
|
%td
|
|
%pre.commit_message
|
|
= preserve @commit.safe_message
|
|
.clear
|
|
|
|
%br
|
|
|
|
= render "commits/diff"
|
|
= render "notes/notes"
|