Commit 80efecbd authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'tz-prefetch-issue-and-project-items' into 'master'

Prefetching Issues and Projects

See merge request gitlab-org/gitlab!76916
parents 64287f18 dde4011e
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
= render 'project_badges', project: project = render 'project_badges', project: project
.title .title
= link_to(project_path(project)) do = link_to project_path(project), class: 'js-prefetch-document' do
.dash-project-avatar .dash-project-avatar
.avatar-container.rect-avatar.s40 .avatar-container.rect-avatar.s40
= project_icon(project, alt: '', class: 'avatar project-avatar s40', width: 40, height: 40) = project_icon(project, alt: '', class: 'avatar project-avatar s40', width: 40, height: 40)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
%span.has-tooltip{ title: _('Confidential') } %span.has-tooltip{ title: _('Confidential') }
= confidential_icon(issue) = confidential_icon(issue)
= hidden_issue_icon(issue) = hidden_issue_icon(issue)
= link_to issue.title, issue_path(issue) = link_to issue.title, issue_path(issue), class: 'js-prefetch-document'
= render_if_exists 'projects/issues/subepic_flag', issue: issue = render_if_exists 'projects/issues/subepic_flag', issue: issue
- if issue.tasks? - if issue.tasks?
%span.task-status.d-none.d-sm-inline-block %span.task-status.d-none.d-sm-inline-block
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
.flex-wrapper .flex-wrapper
.d-flex.align-items-center.flex-wrap.project-title .d-flex.align-items-center.flex-wrap.project-title
%h2.d-flex.gl-mt-3 %h2.d-flex.gl-mt-3
= link_to project_path(project), class: 'text-plain' do = link_to project_path(project), class: 'text-plain js-prefetch-document' do
%span.project-full-name.gl-mr-3>< %span.project-full-name.gl-mr-3><
%span.namespace-name %span.namespace-name
- if project.namespace && !skip_namespace - if project.namespace && !skip_namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment