Skip to content
Snippets Groups Projects
Commit 36fd4de8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Replace page_title with page-title. Correct margin for some blocks/layouts

parent 8b1d44f7
No related branches found
No related tags found
No related merge requests found
Showing
with 26 additions and 28 deletions
- if content_for?(:page_title)
= yield :page_title
- if content_for?(:page-title)
= yield :page-title
%h3.page_title
%h3.page-title
SSH Keys
= link_to "Add SSH Key", new_profile_key_path, class: "btn pull-right btn-primary"
 
Loading
Loading
%h3.page_title Add an SSH Key
%h3.page-title Add an SSH Key
%hr
= render 'form'
 
Loading
Loading
%h3.page_title Setup your notification level
%h3.page-title Setup your notification level
 
%br
 
Loading
Loading
.profile_avatar_holder
= image_tag gravatar_icon(@user.email, 90), alt: ''
%h3.page_title
%h3.page-title
= @user.name
%br
%small
Loading
Loading
Loading
Loading
@@ -15,7 +15,7 @@
%li= link_to "Plain Diff", project_commit_path(@project, @commit, format: :diff)
= link_to project_tree_path(@project, @commit), class: "btn btn-primary grouped" do
%span Browse Code »
%h3.commit-title.page_title
%h3.commit-title.page-title
= gfm escape_once(@commit.title)
- if @commit.description.present?
%pre.commit-description
Loading
Loading
= render "projects/commits/head"
 
%h3.page_title
%h3.page-title
Compare View
%hr
 
Loading
Loading
= render "projects/commits/head"
 
%h3.page_title
%h3.page-title
Compare View
%hr
 
Loading
Loading
%h3.page_title New Deploy key
%h3.page-title New Deploy key
%hr
 
= render 'form'
%h3.page_title
%h3.page-title
Deploy key:
= @key.title
%small
created at
= @key.created_at.stamp("Aug 21, 2011")
.back_link
.back-link
= link_to project_deploy_keys_path(@project) do
← To keys list
%hr
Loading
Loading
.loading-graph
%center
.loading
%h3.page_title Building repository graph. Please wait a moment.
%h3.page-title Building repository graph. Please wait a moment.
 
.stat-graph
.header.clearfix
Loading
Loading
@@ -10,7 +10,7 @@
%option{:value => "commits"} Commits
%option{:value => "additions"} Additions
%option{:value => "deletions"} Deletions
%h3#date_header.page_title
%h3#date_header.page-title
%input#brush_change{:type => "hidden"}
.graphs
#contributors-master
Loading
Loading
%div.issue-form-holder
%h3.page_title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}"
%h3.page-title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}"
= form_for [@project, @issue] do |f|
-if @issue.errors.any?
.alert.alert-error
Loading
Loading
= render "head"
.issues_content
%h3.page_title
%h3.page-title
Issues
%span (<span class=issue_counter>#{@issues.total_count}</span>)
.pull-right
Loading
Loading
@@ -16,8 +16,6 @@
= hidden_field_tag :label_name, params[:label_name], id: 'search_label_name'
= search_field_tag :issue_search, nil, { placeholder: 'Search', class: 'issue_search input-xlarge append-right-10 search-text-input' }
 
.clearfix
.row
.span3
= render 'filter', entity: 'issue'
Loading
Loading
%h3.page_title
%h3.page-title
Issue ##{@issue.id}
 
%small
Loading
Loading
@@ -22,7 +22,7 @@
.pull-right
.span3#votes= render 'votes/votes_block', votable: @issue
 
.back_link
.back-link
= link_to project_issues_path(@project) do
&larr; To issues list
 
Loading
Loading
= render "projects/issues/head"
 
%h3.page_title
%h3.page-title
Labels
%br
 
Loading
Loading
%h3.page_title
%h3.page-title
= "Edit merge request #{@merge_request.id}"
%hr
= render 'form'
Loading
Loading
@@ -2,7 +2,7 @@
= link_to new_project_merge_request_path(@project), class: "pull-right btn btn-primary", title: "New Merge Request" do
%i.icon-plus
New Merge Request
%h3.page_title
%h3.page-title
Merge Requests
 
%br
Loading
Loading
%h3.page_title New Merge Request
%h3.page-title New Merge Request
%hr
= render 'form'
%h3.page_title
%h3.page-title
= "Merge Request ##{@merge_request.id}:"
&nbsp;
%span.label-branch= @merge_request.source_branch
Loading
Loading
@@ -26,6 +26,6 @@
.pull-right
.span3#votes= render 'votes/votes_block', votable: @merge_request
 
.back_link
.back-link
= link_to project_merge_requests_path(@project) do
&larr; To merge requests
%h3.page_title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}"
.back_link
%h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}"
.back-link
= link_to project_milestones_path(@project) do
&larr; To milestones
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment