Skip to content
Snippets Groups Projects
Unverified Commit 1b54a8cd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Replace deprecated name_with_namespace with full_name in app/views

parent 86df5c67
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,4 +11,4 @@
.description.term
= search_md_sanitize(merge_request, :description)
%span.light
#{merge_request.project.name_with_namespace}
#{merge_request.project.full_name}
Loading
Loading
@@ -7,7 +7,7 @@
%i.fa.fa-comment
= link_to_member(project, note.author, avatar: false)
commented on
= link_to project.name_with_namespace, project
= link_to project.full_name, project
·
 
- if note.for_commit?
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@
 
%small.pull-right.cgray
- if snippet_title.project_id?
= link_to snippet_title.project.name_with_namespace, project_path(snippet_title.project)
= link_to snippet_title.project.full_name, project_path(snippet_title.project)
 
.snippet-info
= snippet_title.to_reference
Loading
Loading
- 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_namespace
- page_title "Unsubscribe", noteable_text, noteable_type.pluralize, @sent_notification.project.full_name
 
%h3.page-title
Unsubscribe from #{noteable_type}
Loading
Loading
Loading
Loading
@@ -12,7 +12,7 @@
- if show_project_name
%strong #{project.name} ·
- elsif show_full_project_name
%strong #{project.name_with_namespace} ·
%strong #{project.full_name} ·
- if issuable.is_a?(Issue)
= confidential_icon(issuable)
= link_to issuable.title, issuable_url_args, title: issuable.title
Loading
Loading
Loading
Loading
@@ -27,7 +27,7 @@
- milestone.milestones.each do |milestone|
= link_to milestone_path(milestone) do
%span.label.label-gray
= dashboard ? milestone.project.name_with_namespace : milestone.project.name
= dashboard ? milestone.project.full_name : milestone.project.name
- if @group
.col-sm-6.milestone-actions
- if can?(current_user, :admin_milestones, @group)
Loading
Loading
Loading
Loading
@@ -56,7 +56,7 @@
- milestone.milestones.each do |ms|
%tr
%td
- project_name = group ? ms.project.name : ms.project.name_with_namespace
- project_name = group ? ms.project.name : ms.project.full_name
= link_to project_name, project_milestone_path(ms.project, ms)
%td
= ms.issues_visible_to_user(current_user).opened.count
Loading
Loading
Loading
Loading
@@ -31,7 +31,7 @@
%span.hidden-xs
in
= link_to project_path(snippet.project) do
= snippet.project.name_with_namespace
= snippet.project.full_name
 
.pull-right.snippet-updated-at
%span updated #{time_ago_with_tooltip(snippet.updated_at, placement: 'bottom')}
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