summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-13 20:36:21 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-13 20:36:21 +0300
commita41875d21e9c87f15754c1d23db3a6fb80b7bdcd (patch)
treee94fd2b56af049f6035e957b05710417bfccbf28 /app/views/projects
parente97abfce3b9e4e836aaf9d9ac32a45c6490f8831 (diff)
downloadgitlab-ce-a41875d21e9c87f15754c1d23db3a6fb80b7bdcd.tar.gz
Replace %h5.title with div.title
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/commits/_commits.html.haml2
-rw-r--r--app/views/projects/compare/show.html.haml2
-rw-r--r--app/views/projects/edit.html.haml8
-rw-r--r--app/views/projects/hooks/index.html.haml2
-rw-r--r--app/views/projects/merge_requests/show/_commits.html.haml2
-rw-r--r--app/views/projects/milestones/_issues.html.haml2
-rw-r--r--app/views/projects/milestones/show.html.haml4
-rw-r--r--app/views/projects/team_members/_group_members.html.haml2
-rw-r--r--app/views/projects/team_members/_team.html.haml2
9 files changed, 13 insertions, 13 deletions
diff --git a/app/views/projects/commits/_commits.html.haml b/app/views/projects/commits/_commits.html.haml
index 933780e4534..acdb8891344 100644
--- a/app/views/projects/commits/_commits.html.haml
+++ b/app/views/projects/commits/_commits.html.haml
@@ -1,6 +1,6 @@
- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
%div.ui-box
- %h5.title
+ .title
%i.icon-calendar
%span= day.stamp("28 Aug, 2010")
diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml
index 2e75f8441e3..5e6b5b71753 100644
--- a/app/views/projects/compare/show.html.haml
+++ b/app/views/projects/compare/show.html.haml
@@ -13,7 +13,7 @@
- if @commits.present?
%div.ui-box
- %h5.title
+ .title
Commits (#{@commits.count})
%ul.well-list= render Commit.decorate(@commits)
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 5d399da661d..2f4eba988e0 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -2,7 +2,7 @@
.project-edit-errors
.project-edit-content
.ui-box.white
- %h5.title
+ .title
%strong= @project.name
Project Settings:
.form-holder
@@ -102,7 +102,7 @@
- if can?(current_user, :change_namespace, @project)
.ui-box.ui-box-danger
- %h5.title Transfer project
+ .title Transfer project
.errors-holder
.form-holder
= form_for(@project, url: transfer_project_path(@project), remote: true, html: { class: 'transfer-project' }) do |f|
@@ -122,7 +122,7 @@
%p.nothing_here_message Only project owner can transfer a project
.ui-box.ui-box-danger
- %h5.title Rename repository
+ .title Rename repository
.errors-holder
.form-holder
= form_for(@project) do |f|
@@ -140,7 +140,7 @@
- if can?(current_user, :remove_project, @project)
.ui-box.ui-box-danger
- %h5.title Remove project
+ .title Remove project
.ui-box-body
%p
Remove of project will cause removing repository and all related resources like issues, merge requests etc.
diff --git a/app/views/projects/hooks/index.html.haml b/app/views/projects/hooks/index.html.haml
index 641ab082d8d..c4b51d09335 100644
--- a/app/views/projects/hooks/index.html.haml
+++ b/app/views/projects/hooks/index.html.haml
@@ -21,7 +21,7 @@
-if @hooks.any?
.ui-box
- %h5.title
+ .title
Hooks (#{@hooks.count})
%ul.well-list
- @hooks.each do |hook|
diff --git a/app/views/projects/merge_requests/show/_commits.html.haml b/app/views/projects/merge_requests/show/_commits.html.haml
index 8630f02d5d9..40876d16ddd 100644
--- a/app/views/projects/merge_requests/show/_commits.html.haml
+++ b/app/views/projects/merge_requests/show/_commits.html.haml
@@ -1,6 +1,6 @@
- if @commits.present?
.ui-box
- %h5.title
+ .title
%i.icon-list
Commits (#{@commits.count})
.commits
diff --git a/app/views/projects/milestones/_issues.html.haml b/app/views/projects/milestones/_issues.html.haml
index 67a7bf819fe..983692399ca 100644
--- a/app/views/projects/milestones/_issues.html.haml
+++ b/app/views/projects/milestones/_issues.html.haml
@@ -1,5 +1,5 @@
.ui-box
- %h5.title= title
+ .title= title
%ul.well-list
- issues.each do |issue|
%li
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index b9e5bd9bcc5..7be3ba2f758 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -84,13 +84,13 @@
.row
.span6
.ui-box
- %h5.title Open
+ .title Open
%ul.well-list
- @merge_requests.opened.each do |merge_request|
= render 'merge_request', merge_request: merge_request
.span6
.ui-box
- %h5.title Closed
+ .title Closed
%ul.well-list
- @merge_requests.closed.each do |merge_request|
= render 'merge_request', merge_request: merge_request
diff --git a/app/views/projects/team_members/_group_members.html.haml b/app/views/projects/team_members/_group_members.html.haml
index e01072d99ad..5c3f813bb20 100644
--- a/app/views/projects/team_members/_group_members.html.haml
+++ b/app/views/projects/team_members/_group_members.html.haml
@@ -1,5 +1,5 @@
.ui-box
- %h5.title
+ .title
%strong #{@group.name} Group
members (#{@group.users_groups.count})
.pull-right
diff --git a/app/views/projects/team_members/_team.html.haml b/app/views/projects/team_members/_team.html.haml
index 99231e92152..ee660482f3f 100644
--- a/app/views/projects/team_members/_team.html.haml
+++ b/app/views/projects/team_members/_team.html.haml
@@ -1,7 +1,7 @@
.team-table
- can_admin_project = (can? current_user, :admin_project, @project)
.ui-box
- %h5.title
+ .title
%strong #{@project.name} Project
members (#{members.count})
%ul.well-list