Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
95ab4f985e18
Commit
13fc95ac
authored
Jun 30, 2016
by
Valery Sizov
Browse files
Remove unnecessary parens
parent
a60b3dbe47b4
Changes
41
Hide whitespace changes
Inline
Side-by-side
app/views/admin/background_jobs/show.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"Background Jobs"
=
render
'admin/background_jobs/head'
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
%h3
.page-title
Background Jobs
%p
.light
GitLab uses
#{
link_to
"sidekiq"
,
"http://sidekiq.org/"
}
library for async job processing
...
...
app/views/admin/builds/index.html.haml
View file @
95ab4f98
-
@no_container
=
true
=
render
"admin/dashboard/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.top-area
%ul
.nav-links
...
...
app/views/admin/dashboard/index.html.haml
View file @
95ab4f98
-
@no_container
=
true
=
render
"admin/dashboard/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.admin-dashboard.prepend-top-default
.row
.col-md-4
...
...
app/views/admin/groups/index.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"Groups"
=
render
"admin/dashboard/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
%h3
.page-title
Groups (
#{
number_with_delimiter
(
@groups
.
total_count
)
}
)
...
...
@@ -39,7 +39,6 @@
=
link_to
'New Group'
,
new_admin_group_path
,
class:
"btn btn-new"
%ul
.content-list
-
@groups
.
each
do
|
group
|
=
render
'group'
,
group:
group
=
render
@groups
=
paginate
@groups
,
theme:
"gitlab"
app/views/admin/health_check/show.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"Health Check"
=
render
'admin/background_jobs/head'
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
%h3
.page-title
Health Check
.bs-callout.clearfix
...
...
app/views/admin/logs/show.html.haml
View file @
95ab4f98
...
...
@@ -5,7 +5,7 @@
Gitlab
::
RepositoryCheckLogger
]
=
render
'admin/background_jobs/head'
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
%ul
.nav-links.log-tabs
-
loggers
.
each
do
|
klass
|
%li
{
class:
(
klass
==
Gitlab
::
GitLogger
?
'active'
:
''
)
}
...
...
app/views/admin/projects/index.html.haml
View file @
95ab4f98
...
...
@@ -3,7 +3,7 @@
=
render
'shared/show_aside'
=
render
"admin/dashboard/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.row.prepend-top-default
%aside
.col-md-3
.panel.admin-filter
...
...
app/views/admin/runners/index.html.haml
View file @
95ab4f98
-
@no_container
=
true
=
render
"admin/dashboard/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
%p
.prepend-top-default
%span
...
...
app/views/admin/system_info/show.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"System Info"
=
render
'admin/background_jobs/head'
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.prepend-top-default
.row
.col-sm-4
...
...
app/views/admin/users/index.html.haml
View file @
95ab4f98
...
...
@@ -3,7 +3,7 @@
=
render
'shared/show_aside'
=
render
"admin/dashboard/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.admin-filter
%ul
.nav-links
%li
{
class:
"#{'active' unless params[:filter]}"
}
...
...
app/views/groups/show.html.haml
View file @
95ab4f98
...
...
@@ -5,7 +5,7 @@
=
auto_discovery_link_tag
(
:atom
,
group_url
(
@group
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@group
.
name
}
activity"
)
.cover-block.groups-cover-block
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
=
link_to
group_icon
(
@group
),
target:
'_blank'
do
=
image_tag
group_icon
(
@group
),
class:
"avatar group-avatar s70"
.group-info
...
...
app/views/projects/_home_panel.html.haml
View file @
95ab4f98
-
empty_repo
=
@project
.
empty_repo?
.project-home-panel.cover-block.clearfix
{
:class
=>
(
"empty-project"
if
empty_repo
)}
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.row
.project-image-container
=
project_icon
(
@project
,
alt:
''
,
class:
'project-avatar avatar s70'
)
...
...
app/views/projects/_last_push.html.haml
View file @
95ab4f98
-
if
event
=
last_push_event
-
if
show_last_push_widget?
(
event
)
.row-content-block.top-block.clear-block.hidden-xs
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.event-last-push
.event-last-push-text
%span
You pushed to
...
...
app/views/projects/blob/show.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
@blob
.
path
,
@ref
=
render
"projects/commits/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
=
render
'projects/last_push'
%div
#tree-holder
.tree-holder
...
...
app/views/projects/branches/index.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"Branches"
=
render
"projects/commits/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.top-area
.nav-text
Protected branches can be managed in project settings
...
...
@@ -27,7 +27,7 @@
=
sort_title_recently_updated
=
link_to
namespace_project_branches_path
(
sort:
'last_updated'
)
do
=
sort_title_oldest_updated
-
unless
@branches
.
empt
y?
-
if
@branches
.
an
y?
%ul
.content-list.all-branches
-
@branches
.
each
do
|
branch
|
=
render
"projects/branches/branch"
,
branch:
branch
...
...
app/views/projects/builds/index.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"Builds"
=
render
"projects/pipelines/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.top-area
%ul
.nav-links
%li
{
class:
(
'active'
if
@scope
.
nil?
)}
...
...
app/views/projects/commits/show.html.haml
View file @
95ab4f98
...
...
@@ -7,7 +7,7 @@
=
render
"head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.row-content-block.second-block.content-component-block
.tree-ref-holder
=
render
'shared/ref_switcher'
,
destination:
'commits'
...
...
app/views/projects/compare/index.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"Compare"
=
render
"projects/commits/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.sub-header-block
Compare branches, tags or commit ranges.
%br
...
...
app/views/projects/compare/show.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"
#{
params
[
:from
]
}
...
#{
params
[
:to
]
}
"
=
render
"projects/commits/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
.sub-header-block.no-bottom-space
=
render
"form"
...
...
app/views/projects/environments/index.html.haml
View file @
95ab4f98
...
...
@@ -2,7 +2,7 @@
-
page_title
"Environments"
=
render
"projects/pipelines/head"
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
-
if
can?
(
current_user
,
:create_environment
,
@project
)
&&
!
@environments
.
blank?
.top-area
.nav-controls
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment