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

_teams.html.haml « dashboard « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1be6e25c54de4abc1cda3973e5cd3dfd560ac811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.ui-box.teams-box
  %h5.title
    Teams
    %small
      (#{@teams.count})
    %span.right
      = link_to new_team_path, class: "btn btn-tiny info" do
        %i.icon-plus
        New Team
  %ul.well-list
    - @teams.each do |team|
      %li
        = link_to team_path(id: team.path), class: dom_class(team) do
          %strong.well-title= truncate(team.name, length: 35)
        %span.right.light
          - if team.owner == current_user
            %i.icon-wrench
          - tm = current_user.user_team_user_relationships.find_by_user_team_id(team.id)
          - if tm
            = tm.access_human