summaryrefslogtreecommitdiff
path: root/app/views/projects/_activity.html.haml
blob: c5a0b6a1428dd050e1fcd689293fbf841410471c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- is_project_overview = local_assigns.fetch(:is_project_overview, false)

.nav-block.d-none.d-sm-flex.activities.gl-static
  = render 'shared/event_filter'
  .controls.gl-display-flex
    = link_to project_path(@project, rss_url_options), title: s_("ProjectActivityRSS|Subscribe"), class: 'btn gl-button btn-default btn-icon d-none d-sm-inline-flex has-tooltip' do
      = sprite_icon('rss', css_class: 'qa-rss-icon gl-icon')
    - 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
  .gl-spinner.gl-spinner-md