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

Make section connect with window border without extra padding

上级 343b844a
- @no_container = true
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
......@@ -7,7 +9,8 @@
.hidden-xs
= render "projects/last_push"
= render 'dashboard/activity_head'
%div{ class: container_class }
= render 'dashboard/activity_head'
%section.activities
= render 'activities'
%section.activities
= render 'activities'
- @no_container = true
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
- page_title "Projects"
- header_title "Projects", dashboard_projects_path
- unless show_user_callout?
= render 'shared/user_callout'
= render "projects/last_push"
- if @projects.any? || params[:name]
= render 'dashboard/projects_head'
%div{ class: container_class }
- unless show_user_callout?
= render 'shared/user_callout'
- if @projects.any? || params[:name]
= render 'dashboard/projects_head'
- if @projects.any? || params[:name]
= render 'projects'
- else
= render "zero_authorized_projects"
- if @projects.any? || params[:name]
= render 'projects'
- else
= render "zero_authorized_projects"
- @no_container = true
- page_title "Starred Projects"
- header_title "Projects", dashboard_projects_path
= render "projects/last_push"
= render 'dashboard/projects_head'
%div{ class: container_class }
= render 'dashboard/projects_head'
- if @projects.any? || params[:filter_projects]
= render 'projects'
- else
%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.
- if @projects.any? || params[:filter_projects]
= render 'projects'
- else
%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.
......@@ -4,7 +4,6 @@
= auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity")
= render 'groups/head'
= render 'groups/home_panel'
.groups-header{ class: container_class }
......
- @no_container = true
%div{ class: container_class }
.nav-block.activity-filter-block.activities
.controls
......
- @no_container = true
- page_title "Activity"
= render "projects/head"
%div{ class: container_class }
= render 'projects/last_push'
= render 'projects/last_push'
= render 'projects/activity'
- @no_container = true
- page_title @blob.path, @ref
= render "projects/commits/head"
- content_for :page_specific_javascripts do
= 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
= render 'blob', blob: @blob
......
......@@ -11,8 +11,7 @@
= webpack_bundle_tag 'filtered_search'
%div{ class: container_class }
= render 'projects/last_push'
= render 'projects/last_push'
- if @project.merge_requests.exists?
%div{ class: container_class }
......
......@@ -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")
= 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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册