2011-10-28 14:07:58 +02:00
|
|
|
!!!
|
|
|
|
%html
|
|
|
|
%head
|
|
|
|
%title
|
|
|
|
GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
|
2011-12-28 08:18:50 +01:00
|
|
|
= favicon_link_tag 'favicon.ico'
|
2011-10-28 14:07:58 +02:00
|
|
|
= stylesheet_link_tag "application"
|
|
|
|
= javascript_include_tag "application"
|
2011-11-16 06:38:53 +01:00
|
|
|
- if current_page?(tree_project_ref_path(@project, @project.root_ref)) || current_page?(project_commits_path(@project))
|
2011-11-15 08:25:26 +01: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 10:29:58 +01:00
|
|
|
- if request.path == project_issues_path(@project)
|
2011-11-15 08:25:26 +01:00
|
|
|
= auto_discovery_link_tag(:atom, project_issues_url(@project, :atom, :private_token => current_user.private_token), :title => "#{@project.name} issues")
|
2011-10-28 14:07:58 +02:00
|
|
|
= csrf_meta_tags
|
|
|
|
= javascript_tag do
|
|
|
|
REQ_URI = "#{request.env["REQUEST_URI"]}";
|
|
|
|
REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
|
2011-11-03 23:37:02 +01:00
|
|
|
%body{ :class => body_class('project-page'), :id => yield(:boyd_id)}
|
2011-11-21 08:26:10 +01:00
|
|
|
= render :partial => "layouts/flash"
|
2011-10-28 14:07:58 +02:00
|
|
|
#container
|
|
|
|
= render :partial => "layouts/head_panel"
|
|
|
|
.project-container
|
2012-01-22 12:21:59 +01:00
|
|
|
= render :partial => "layouts/project_side"
|
2011-10-28 14:07:58 +02:00
|
|
|
.project-content
|
|
|
|
= yield
|