Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_team_head.html.haml « teams « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 53796623de1bfc0bef9e73f4455ccec878faac7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%ul.nav.nav-tabs
  = nav_link(path: 'teams#show') do
    = link_to team_path(@user_team), class: "activities-tab tab" do
      %i.icon-home
      Show
  = nav_link(controller: [:members]) do
    = link_to team_members_path(@user_team), class: "team-tab tab" do
      %i.icon-user
      Members
  = nav_link(controller: [:projects]) do
    = link_to team_projects_path(@user_team), class: "team-tab tab" do
      %i.icon-briefcase
      Projects

  - if can? current_user, :manage_user_team, @user_team
    = nav_link(path: 'teams#edit', html_options: {class: 'right'}) do
      = link_to edit_team_path(@user_team), class: "stat-tab tab " do
        %i.icon-edit
        Edit