2011-10-28 12:07:58 +00:00
|
|
|
!!!
|
|
|
|
%html
|
|
|
|
%head
|
2012-01-26 07:50:11 +00:00
|
|
|
%meta{:charset => "utf-8"}
|
2011-10-28 12:07:58 +00:00
|
|
|
%title
|
2012-01-26 17:25:35 +00:00
|
|
|
GitLab
|
|
|
|
= " - #{@project.name}" if @project && !@project.new_record?
|
2011-12-28 07:18:50 +00:00
|
|
|
= favicon_link_tag 'favicon.ico'
|
2011-10-28 12:07:58 +00:00
|
|
|
= stylesheet_link_tag "application"
|
|
|
|
= javascript_include_tag "application"
|
2011-11-16 05:38:53 +00:00
|
|
|
- if current_page?(tree_project_ref_path(@project, @project.root_ref)) || current_page?(project_commits_path(@project))
|
2011-11-15 07:25:26 +00:00
|
|
|
= auto_discovery_link_tag(:atom, project_commits_url(@project, :atom, :ref => @ref, :private_token => current_user.private_token), :title => "Recent commits to #{@project.name}:#{@ref}")
|
2011-11-11 09:29:58 +00:00
|
|
|
- if request.path == project_issues_path(@project)
|
2011-11-15 07:25:26 +00:00
|
|
|
= auto_discovery_link_tag(:atom, project_issues_url(@project, :atom, :private_token => current_user.private_token), :title => "#{@project.name} issues")
|
2011-10-28 12:07:58 +00:00
|
|
|
= csrf_meta_tags
|
2012-01-26 17:25:35 +00:00
|
|
|
%body.project
|
2011-11-21 07:26:10 +00:00
|
|
|
= render :partial => "layouts/flash"
|
2012-01-26 17:25:35 +00:00
|
|
|
= render :partial => "layouts/head_panel"
|
|
|
|
.container-fluid
|
|
|
|
.sidebar= render :partial => "layouts/project_side"
|
2012-01-27 23:49:14 +00:00
|
|
|
.content
|
|
|
|
- if @full_content
|
|
|
|
= yield
|
|
|
|
- else
|
|
|
|
.row
|
|
|
|
.span10= yield
|
|
|
|
.span4= render "layouts/project_side_right"
|
|
|
|
|