提交 7adebd54 编写于 作者: D Douwe Maan

Make section connect with window border without extra padding

上级 343b844a
- @no_container = true
= content_for :meta_tags do = content_for :meta_tags do
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity") = auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
...@@ -7,7 +9,8 @@ ...@@ -7,7 +9,8 @@
.hidden-xs .hidden-xs
= render "projects/last_push" = render "projects/last_push"
= render 'dashboard/activity_head' %div{ class: container_class }
= render 'dashboard/activity_head'
%section.activities %section.activities
= render 'activities' = render 'activities'
- @no_container = true
= content_for :meta_tags do = content_for :meta_tags do
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity") = auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
- page_title "Projects" - page_title "Projects"
- header_title "Projects", dashboard_projects_path - header_title "Projects", dashboard_projects_path
- unless show_user_callout?
= render 'shared/user_callout'
= render "projects/last_push" = render "projects/last_push"
- if @projects.any? || params[:name] %div{ class: container_class }
= render 'dashboard/projects_head' - unless show_user_callout?
= render 'shared/user_callout'
- if @projects.any? || params[:name]
= render 'dashboard/projects_head'
- if @projects.any? || params[:name] - if @projects.any? || params[:name]
= render 'projects' = render 'projects'
- else - else
= render "zero_authorized_projects" = render "zero_authorized_projects"
- @no_container = true
- page_title "Starred Projects" - page_title "Starred Projects"
- header_title "Projects", dashboard_projects_path - header_title "Projects", dashboard_projects_path
= render "projects/last_push" = render "projects/last_push"
= render 'dashboard/projects_head' %div{ class: container_class }
= render 'dashboard/projects_head'
- if @projects.any? || params[:filter_projects] - if @projects.any? || params[:filter_projects]
= render 'projects' = render 'projects'
- else - else
%h3 You don't have starred projects yet %h3 You don't have starred projects yet
%p.slead Visit project page and press on star icon and it will appear on this page. %p.slead Visit project page and press on star icon and it will appear on this page.
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
= auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity") = auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity")
= render 'groups/head' = render 'groups/head'
= render 'groups/home_panel' = render 'groups/home_panel'
.groups-header{ class: container_class } .groups-header{ class: container_class }
......
- @no_container = true
%div{ class: container_class } %div{ class: container_class }
.nav-block.activity-filter-block.activities .nav-block.activity-filter-block.activities
.controls .controls
......
- @no_container = true
- page_title "Activity" - page_title "Activity"
= render "projects/head" = render "projects/head"
%div{ class: container_class } = render 'projects/last_push'
= render 'projects/last_push'
= render 'projects/activity' = render 'projects/activity'
- @no_container = true - @no_container = true
- page_title @blob.path, @ref - page_title @blob.path, @ref
= render "projects/commits/head" = render "projects/commits/head"
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('blob') = page_specific_javascript_bundle_tag('blob')
%div{ class: container_class } = render 'projects/last_push'
= render 'projects/last_push'
%div{ class: container_class }
#tree-holder.tree-holder #tree-holder.tree-holder
= render 'blob', blob: @blob = render 'blob', blob: @blob
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
= webpack_bundle_tag 'filtered_search' = webpack_bundle_tag 'filtered_search'
%div{ class: container_class } = render 'projects/last_push'
= render 'projects/last_push'
- if @project.merge_requests.exists? - if @project.merge_requests.exists?
%div{ class: container_class } %div{ class: container_class }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
= auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits") = auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits")
= render "projects/commits/head" = render "projects/commits/head"
%div{ class: container_class } = render 'projects/last_push'
= render 'projects/last_push'
%div{ class: container_class }
= render 'projects/files', commit: @last_commit, project: @project, ref: @ref = render 'projects/files', commit: @last_commit, project: @project, ref: @ref
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册