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

_show_team.html.haml « team_members « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1555f0b87b050a3a8070b5d4110f81f3545324c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- team = team_rel.user_team
- allow_admin = can? current_user, :admin_team_member, @project
%li{id: dom_id(team), class: "user_team_row team_#{team.id}"}
  .row
    .span6
      %strong= link_to team.name, team_path(team), title: team.name, class: "dark"
      %br
      %small.cgray Members: #{team.members.count}

    .span5.pull-right
      .pull-right
        - if allow_admin
          .left
            = link_to resign_project_team_path(@project, team), method: :delete, confirm: "Are you shure?", class: "btn btn-remove small" do
              %i.icon-minus.icon-white