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

_environment.html.haml « environments « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 36a6162a5a862e33b77518f17908b20c90253190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- last_deployment = environment.last_deployment

%tr.environment
  %td
    = link_to environment.name, namespace_project_environment_path(@project.namespace, @project, environment)

  %td
    - if last_deployment
      = user_avatar(user: last_deployment.user, size: 20)
      %strong ##{last_deployment.id}

  %td
    - if last_deployment
      = render 'projects/deployments/commit', deployment: last_deployment
    - else
      %p.commit-title
        No deployments yet

  %td
    - if last_deployment
      #{time_ago_with_tooltip(last_deployment.created_at)}

  %td
    = render 'projects/deployments/actions', deployment: last_deployment