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-08-03 14:15:29 +01:00
|
|
|
= render 'about_block', :project => @project
|
2012-02-29 01:30:22 +00:00
|
|
|
|
|
|
|
%h3= t("layout.projects.last_commit")
|
2012-11-28 13:15:15 +00:00
|
|
|
- GitPresenters::CommitAsMessagePresenter.present(@commit, :project => @project) do |presenter|
|
2012-02-29 01:30:22 +00:00
|
|
|
= 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-10-04 19:40:12 +01:00
|
|
|
-comments = @comments.select {|c| c.data.blank? } # dont work @comments.where(:data => nil)
|
|
|
|
= render "projects/comments/list", :list => comments, :project => @project, :commentable => @commit
|
2012-05-02 10:18:07 +01:00
|
|
|
= render "projects/comments/add", :project => @project, :commentable => @commit if current_user
|
2012-09-18 11:00:21 +01:00
|
|
|
|
|
|
|
=hidden_field_tag :preview_url, project_md_preview_path(@project)
|
|
|
|
|