Commit 8760d9a4 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch '223003-show-clone-for-activity' into 'master'

Show clone button for activity on project page

Closes #223003

See merge request gitlab-org/gitlab!36147
parents b8aef22f 16ef3870
- is_project_overview = local_assigns.fetch(:is_project_overview, false)
%div{ class: container_class }
.nav-block.d-none.d-sm-flex.activities
.nav-block.d-none.d-sm-flex.activities.gl-static
= render 'shared/event_filter'
.controls
.controls.gl-display-flex
= link_to project_path(@project, rss_url_options), title: s_("ProjectActivityRSS|Subscribe"), class: 'btn d-none d-sm-inline-block has-tooltip' do
= icon('rss')
- if is_project_overview && can?(current_user, :download_code, @project)
.project-clone-holder.d-none.d-md-inline-flex.gl-ml-2
= render "projects/buttons/clone", dropdown_class: 'dropdown-menu-right'
.content_list.project-activity{ :"data-href" => activity_project_path(@project) }
.loading
......
---
title: Show clone button for activity on project page
merge_request: 36147
author:
type: changed
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