rosa-build/app/views/git/commits/show.html.haml

21 lines
817 B
Plaintext
Raw Normal View History

2012-03-29 19:34:45 +01:00
-title "#{@commit.message} - #{shortest_hash_id(@commit.id)} - #{title_project @project}"
= render :partial => 'projects/submenu'
.description
%h3= t("layout.projects.about_subheader")
%p
= @project.description
= link_to t('layout.read_more'), '#'
%h3= t("layout.projects.last_commit")
- GitPresenters::CommitAsMessagePresenter.present(@commit, :branch => @branch, :project => @project) do |presenter|
= render :partial => 'shared/feed_message', :locals => {:presenter => presenter, :item_no => 1}
.both
#repo-wrapper
= render :partial => 'show'
2012-02-29 15:04:33 +00:00
= render :partial => "comments/list", :locals => {:list => Project.commit_comments(@commit, @project), :project => @project, :commentable => @commit}
= render :partial => "comments/add", :locals => {:project => @project, :commentable => @commit}