BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
1b54a8cd
Unverified
Commit
1b54a8cd
authored
Mar 05, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated name_with_namespace with full_name in app/views
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
86df5c67
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
35 additions
and
35 deletions
+35
-35
index.html.haml
app/views/admin/dashboard/index.html.haml
+1
-1
show.html.haml
app/views/admin/groups/show.html.haml
+2
-2
show.html.haml
app/views/admin/projects/show.html.haml
+3
-3
show.html.haml
app/views/admin/runners/show.html.haml
+3
-3
projects.html.haml
app/views/admin/users/projects.html.haml
+2
-2
projects.html.haml
app/views/groups/projects.html.haml
+1
-1
show.html.haml
app/views/invites/show.html.haml
+1
-1
_show.html.haml
app/views/layouts/nav/projects_dropdown/_show.html.haml
+1
-1
project.html.haml
app/views/layouts/project.html.haml
+1
-1
project_was_exported_email.html.haml
app/views/notify/project_was_exported_email.html.haml
+1
-1
project_was_moved_email.html.haml
app/views/notify/project_was_moved_email.html.haml
+1
-1
_chat_name.html.haml
app/views/profiles/chat_names/_chat_name.html.haml
+1
-1
_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+1
-1
_generic_commit_status.html.haml
.../generic_commit_statuses/_generic_commit_status.html.haml
+1
-1
_merge_requests.html.haml
app/views/projects/issues/_merge_requests.html.haml
+1
-1
_detailed_help.html.haml
...rvices/mattermost_slash_commands/_detailed_help.html.haml
+2
-2
_help.html.haml
...ws/projects/services/slack_slash_commands/_help.html.haml
+1
-1
_filter.html.haml
app/views/search/_filter.html.haml
+1
-1
_results.html.haml
app/views/search/_results.html.haml
+1
-1
_issue.html.haml
app/views/search/results/_issue.html.haml
+1
-1
_merge_request.html.haml
app/views/search/results/_merge_request.html.haml
+1
-1
_note.html.haml
app/views/search/results/_note.html.haml
+1
-1
_snippet_title.html.haml
app/views/search/results/_snippet_title.html.haml
+1
-1
unsubscribe.html.haml
app/views/sent_notifications/unsubscribe.html.haml
+1
-1
_issuable.html.haml
app/views/shared/milestones/_issuable.html.haml
+1
-1
_milestone.html.haml
app/views/shared/milestones/_milestone.html.haml
+1
-1
_top.html.haml
app/views/shared/milestones/_top.html.haml
+1
-1
_snippet.html.haml
app/views/shared/snippets/_snippet.html.haml
+1
-1
No files found.
app/views/admin/dashboard/index.html.haml
View file @
1b54a8cd
...
...
@@ -164,7 +164,7 @@
%h4
Latest projects
-
@projects
.
each
do
|
project
|
%p
=
link_to
project
.
name_with_namespac
e
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
],
class:
'str-truncated-60'
=
link_to
project
.
full_nam
e
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
],
class:
'str-truncated-60'
%span
.light.pull-right
#{
time_ago_with_tooltip
(
project
.
created_at
)
}
.col-md-4
...
...
app/views/admin/groups/show.html.haml
View file @
1b54a8cd
...
...
@@ -68,7 +68,7 @@
-
@projects
.
each
do
|
project
|
%li
%strong
=
link_to
project
.
name_with_namespac
e
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
]
=
link_to
project
.
full_nam
e
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
]
%span
.badge
=
storage_counter
(
project
.
statistics
.
storage_size
)
%span
.pull-right.light
...
...
@@ -86,7 +86,7 @@
-
@group
.
shared_projects
.
sort_by
(
&
:name
).
each
do
|
project
|
%li
%strong
=
link_to
project
.
name_with_namespac
e
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
]
=
link_to
project
.
full_nam
e
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
]
%span
.badge
=
storage_counter
(
project
.
statistics
.
storage_size
)
%span
.pull-right.light
...
...
app/views/admin/projects/show.html.haml
View file @
1b54a8cd
-
add_to_breadcrumbs
"Projects"
,
admin_projects_path
-
breadcrumb_title
@project
.
name_with_namespac
e
-
page_title
@project
.
name_with_namespac
e
,
"Projects"
-
breadcrumb_title
@project
.
full_nam
e
-
page_title
@project
.
full_nam
e
,
"Projects"
%h3
.page-title
Project:
#{
@project
.
name_with_namespac
e
}
Project:
#{
@project
.
full_nam
e
}
=
link_to
edit_project_path
(
@project
),
class:
"btn btn-nr pull-right"
do
%i
.fa.fa-pencil-square-o
Edit
...
...
app/views/admin/runners/show.html.haml
View file @
1b54a8cd
...
...
@@ -39,7 +39,7 @@
%tr
.alert-info
%td
%strong
=
project
.
name_with_namespac
e
=
project
.
full_nam
e
%td
.pull-right
=
link_to
'Disable'
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
,
runner_project
],
method: :delete
,
class:
'btn btn-danger btn-xs'
...
...
@@ -61,7 +61,7 @@
-
@projects
.
each
do
|
project
|
%tr
%td
=
project
.
name_with_namespac
e
=
project
.
full_nam
e
%td
.pull-right
=
form_for
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
,
project
.
runner_projects
.
new
]
do
|
f
|
...
...
@@ -95,7 +95,7 @@
%td
.status
-
if
project
=
project
.
name_with_namespac
e
=
project
.
full_nam
e
%td
.build-link
-
if
project
...
...
app/views/admin/users/projects.html.haml
View file @
1b54a8cd
...
...
@@ -29,12 +29,12 @@
.panel.panel-default
.panel-heading
Joined projects (
#{
@joined_projects
.
count
}
)
%ul
.well-list
-
@joined_projects
.
sort_by
(
&
:
name_with_namespac
e
).
each
do
|
project
|
-
@joined_projects
.
sort_by
(
&
:
full_nam
e
).
each
do
|
project
|
-
member
=
project
.
team
.
find_member
(
@user
.
id
)
%li
.project_member
.list-item-name
=
link_to
admin_project_path
(
project
),
class:
dom_class
(
project
)
do
=
project
.
name_with_namespac
e
=
project
.
full_nam
e
-
if
member
.pull-right
...
...
app/views/groups/projects.html.haml
View file @
1b54a8cd
...
...
@@ -14,7 +14,7 @@
.list-item-name
%span
{
class:
visibility_level_color
(
project
.
visibility_level
)
}
=
visibility_level_icon
(
project
.
visibility_level
)
%strong
=
link_to
project
.
name_with_namespac
e
,
project
%strong
=
link_to
project
.
full_nam
e
,
project
.pull-right
-
if
project
.
archived
%span
.label.label-warning
archived
...
...
app/views/invites/show.html.haml
View file @
1b54a8cd
...
...
@@ -12,7 +12,7 @@
-
project
=
@member
.
source
project
%strong
=
link_to
project
.
name_with_namespac
e
,
project_url
(
project
)
=
link_to
project
.
full_nam
e
,
project_url
(
project
)
-
when
Group
-
group
=
@member
.
source
group
...
...
app/views/layouts/nav/projects_dropdown/_show.html.haml
View file @
1b54a8cd
-
project_meta
=
{
id:
@project
.
id
,
name:
@project
.
name
,
namespace:
@project
.
name_with_namespac
e
,
web_url:
project_path
(
@project
),
avatar_url:
@project
.
avatar_url
}
if
@project
&
.
persisted?
-
project_meta
=
{
id:
@project
.
id
,
name:
@project
.
name
,
namespace:
@project
.
full_nam
e
,
web_url:
project_path
(
@project
),
avatar_url:
@project
.
avatar_url
}
if
@project
&
.
persisted?
.projects-dropdown-container
.project-dropdown-sidebar.qa-projects-dropdown-sidebar
%ul
...
...
app/views/layouts/project.html.haml
View file @
1b54a8cd
-
page_title
@project
.
name_with_namespac
e
-
page_title
@project
.
full_nam
e
-
page_description
@project
.
description
unless
page_description
-
header_title
project_title
(
@project
)
unless
header_title
-
nav
"project"
...
...
app/views/notify/project_was_exported_email.html.haml
View file @
1b54a8cd
...
...
@@ -3,6 +3,6 @@
%p
The project export can be downloaded from:
=
link_to
download_export_project_url
(
@project
),
rel:
'nofollow'
,
download:
''
do
=
@project
.
name_with_namespac
e
+
" export"
=
@project
.
full_nam
e
+
" export"
%p
The download link will expire in 24 hours.
app/views/notify/project_was_moved_email.html.haml
View file @
1b54a8cd
...
...
@@ -3,7 +3,7 @@
%p
The project is now located under
=
link_to
project_url
(
@project
)
do
=
@project
.
name_with_namespac
e
=
@project
.
full_nam
e
%p
To update the remote url in your local repository run (for ssh):
%p
{
style:
"background: #f5f5f5; padding:10px; border:1px solid #ddd"
}
...
...
app/views/profiles/chat_names/_chat_name.html.haml
View file @
1b54a8cd
...
...
@@ -4,7 +4,7 @@
%td
%strong
-
if
can?
(
current_user
,
:read_project
,
project
)
=
link_to
project
.
name_with_namespac
e
,
project_path
(
project
)
=
link_to
project
.
full_nam
e
,
project_path
(
project
)
-
else
.light
N/A
%td
...
...
app/views/projects/ci/builds/_build.html.haml
View file @
1b54a8cd
...
...
@@ -63,7 +63,7 @@
-
if
admin
%td
-
if
job
.
project
=
link_to
job
.
project
.
name_with_namespac
e
,
admin_project_path
(
job
.
project
)
=
link_to
job
.
project
.
full_nam
e
,
admin_project_path
(
job
.
project
)
%td
-
if
job
.
try
(
:runner
)
=
runner_link
(
job
.
runner
)
...
...
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
View file @
1b54a8cd
...
...
@@ -53,7 +53,7 @@
-
if
admin
%td
-
if
generic_commit_status
.
project
=
link_to
generic_commit_status
.
project
.
name_with_namespac
e
,
admin_project_path
(
generic_commit_status
.
project
)
=
link_to
generic_commit_status
.
project
.
full_nam
e
,
admin_project_path
(
generic_commit_status
.
project
)
%td
-
if
generic_commit_status
.
try
(
:runner
)
=
runner_link
(
generic_commit_status
.
runner
)
...
...
app/views/projects/issues/_merge_requests.html.haml
View file @
1b54a8cd
...
...
@@ -18,7 +18,7 @@
-
unless
@issue
.
project
.
id
==
merge_request
.
target_project
.
id
in
-
project
=
merge_request
.
target_project
=
link_to
project
.
name_with_namespac
e
,
project_path
(
project
)
=
link_to
project
.
full_nam
e
,
project_path
(
project
)
-
if
merge_request
.
merged?
%span
.merge-request-status.prepend-left-10.merged
...
...
app/views/projects/services/mattermost_slash_commands/_detailed_help.html.haml
View file @
1b54a8cd
-
run_actions_text
=
"Perform common operations on GitLab project:
#{
@project
.
name_with_namespac
e
}
"
-
run_actions_text
=
"Perform common operations on GitLab project:
#{
@project
.
full_nam
e
}
"
%p
To setup this service:
%ul
.list-unstyled.indent-list
...
...
@@ -20,7 +20,7 @@
.form-group
=
label_tag
:display_name
,
'Display name'
,
class:
'col-sm-2 col-xs-12 control-label'
.col-sm-10.col-xs-12.input-group
=
text_field_tag
:display_name
,
"GitLab /
#{
@project
.
name_with_namespac
e
}
"
,
class:
'form-control input-sm'
,
readonly:
'readonly'
=
text_field_tag
:display_name
,
"GitLab /
#{
@project
.
full_nam
e
}
"
,
class:
'form-control input-sm'
,
readonly:
'readonly'
.input-group-btn
=
clipboard_button
(
target:
'#display_name'
)
...
...
app/views/projects/services/slack_slash_commands/_help.html.haml
View file @
1b54a8cd
-
pretty_name
=
defined?
(
@project
)
?
@project
.
name_with_namespac
e
:
'namespace / path'
-
pretty_name
=
defined?
(
@project
)
?
@project
.
full_nam
e
:
'namespace / path'
-
run_actions_text
=
"Perform common operations on GitLab project:
#{
pretty_name
}
"
.well
...
...
app/views/search/_filter.html.haml
View file @
1b54a8cd
...
...
@@ -22,7 +22,7 @@
%span
.dropdown-toggle-text
Project:
-
if
@project
.
present?
=
@project
.
name_with_namespac
e
=
@project
.
full_nam
e
-
else
Any
=
icon
(
"chevron-down"
)
...
...
app/views/search/_results.html.haml
View file @
1b54a8cd
...
...
@@ -6,7 +6,7 @@
=
search_entries_info
(
@search_objects
,
@scope
,
@search_term
)
-
unless
@show_snippets
-
if
@project
in project
#{
link_to
@project
.
name_with_namespac
e
,
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
]
}
in project
#{
link_to
@project
.
full_nam
e
,
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
]
}
-
elsif
@group
in group
#{
link_to
@group
.
name
,
@group
}
...
...
app/views/search/results/_issue.html.haml
View file @
1b54a8cd
...
...
@@ -10,4 +10,4 @@
.description.term
=
search_md_sanitize
(
issue
,
:description
)
%span
.light
#{
issue
.
project
.
name_with_namespac
e
}
#{
issue
.
project
.
full_nam
e
}
app/views/search/results/_merge_request.html.haml
View file @
1b54a8cd
...
...
@@ -11,4 +11,4 @@
.description.term
=
search_md_sanitize
(
merge_request
,
:description
)
%span
.light
#{
merge_request
.
project
.
name_with_namespac
e
}
#{
merge_request
.
project
.
full_nam
e
}
app/views/search/results/_note.html.haml
View file @
1b54a8cd
...
...
@@ -7,7 +7,7 @@
%i
.fa.fa-comment
=
link_to_member
(
project
,
note
.
author
,
avatar:
false
)
commented on
=
link_to
project
.
name_with_namespac
e
,
project
=
link_to
project
.
full_nam
e
,
project
·
-
if
note
.
for_commit?
...
...
app/views/search/results/_snippet_title.html.haml
View file @
1b54a8cd
...
...
@@ -11,7 +11,7 @@
%small
.pull-right.cgray
-
if
snippet_title
.
project_id?
=
link_to
snippet_title
.
project
.
name_with_namespac
e
,
project_path
(
snippet_title
.
project
)
=
link_to
snippet_title
.
project
.
full_nam
e
,
project_path
(
snippet_title
.
project
)
.snippet-info
=
snippet_title
.
to_reference
...
...
app/views/sent_notifications/unsubscribe.html.haml
View file @
1b54a8cd
-
noteable
=
@sent_notification
.
noteable
-
noteable_type
=
@sent_notification
.
noteable_type
.
titleize
.
downcase
-
noteable_text
=
%(#{noteable.title} (#{noteable.to_reference}))
-
page_title
"Unsubscribe"
,
noteable_text
,
noteable_type
.
pluralize
,
@sent_notification
.
project
.
name_with_namespac
e
-
page_title
"Unsubscribe"
,
noteable_text
,
noteable_type
.
pluralize
,
@sent_notification
.
project
.
full_nam
e
%h3
.page-title
Unsubscribe from
#{
noteable_type
}
...
...
app/views/shared/milestones/_issuable.html.haml
View file @
1b54a8cd
...
...
@@ -12,7 +12,7 @@
-
if
show_project_name
%strong
#{
project
.
name
}
·
-
elsif
show_full_project_name
%strong
#{
project
.
name_with_namespac
e
}
·
%strong
#{
project
.
full_nam
e
}
·
-
if
issuable
.
is_a?
(
Issue
)
=
confidential_icon
(
issuable
)
=
link_to
issuable
.
title
,
issuable_url_args
,
title:
issuable
.
title
...
...
app/views/shared/milestones/_milestone.html.haml
View file @
1b54a8cd
...
...
@@ -27,7 +27,7 @@
-
milestone
.
milestones
.
each
do
|
milestone
|
=
link_to
milestone_path
(
milestone
)
do
%span
.label.label-gray
=
dashboard
?
milestone
.
project
.
name_with_namespac
e
:
milestone
.
project
.
name
=
dashboard
?
milestone
.
project
.
full_nam
e
:
milestone
.
project
.
name
-
if
@group
.col-sm-6.milestone-actions
-
if
can?
(
current_user
,
:admin_milestones
,
@group
)
...
...
app/views/shared/milestones/_top.html.haml
View file @
1b54a8cd
...
...
@@ -56,7 +56,7 @@
-
milestone
.
milestones
.
each
do
|
ms
|
%tr
%td
-
project_name
=
group
?
ms
.
project
.
name
:
ms
.
project
.
name_with_namespac
e
-
project_name
=
group
?
ms
.
project
.
name
:
ms
.
project
.
full_nam
e
=
link_to
project_name
,
project_milestone_path
(
ms
.
project
,
ms
)
%td
=
ms
.
issues_visible_to_user
(
current_user
).
opened
.
count
...
...
app/views/shared/snippets/_snippet.html.haml
View file @
1b54a8cd
...
...
@@ -31,7 +31,7 @@
%span
.hidden-xs
in
=
link_to
project_path
(
snippet
.
project
)
do
=
snippet
.
project
.
name_with_namespac
e
=
snippet
.
project
.
full_nam
e
.pull-right.snippet-updated-at
%span
updated
#{
time_ago_with_tooltip
(
snippet
.
updated_at
,
placement:
'bottom'
)
}
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