2012-03-30 15:54:30 +01:00
|
|
|
-set_meta_tags :title => [title_object(@project), shortest_hash_id(@commit.id), @commit.message]
|
2012-05-02 10:18:07 +01:00
|
|
|
= render 'submenu'
|
2012-02-29 01:30:22 +00:00
|
|
|
|
|
|
|
.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
|
2012-05-02 10:18:07 +01:00
|
|
|
= render 'show'
|
2012-02-29 15:04:33 +00:00
|
|
|
|
2012-05-02 10:18:07 +01:00
|
|
|
= render "projects/comments/list", :list => Comment.for_commit(@commit), :project => @project, :commentable => @commit
|
|
|
|
= render "projects/comments/add", :project => @project, :commentable => @commit if current_user
|