diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 18:08:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 18:08:44 +0300 |
commit | 120f4aaedc8fe830a3f572491d240d8ee6addefb (patch) | |
tree | a2138baa55dfa67d292fb1a83ce686ee7f5d10a5 /app/views/projects | |
parent | 729e3765d5feb762df1ccfbc228a8dd4662aa3f9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/services/_integrations.html.haml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/views/projects/services/_integrations.html.haml b/app/views/projects/services/_integrations.html.haml new file mode 100644 index 00000000000..e51585e55a4 --- /dev/null +++ b/app/views/projects/services/_integrations.html.haml @@ -0,0 +1,26 @@ +%table.table.b-table.gl-table.mt-3{ role: 'table', 'aria-busy': false, 'aria-colcount': 4 } + %colgroup + %col + %col + %col.d-none.d-sm-table-column + %col{ width: 120 } + %thead{ role: 'rowgroup' } + %tr{ role: 'row' } + %th{ role: 'columnheader', scope: 'col', 'aria-colindex': 1 } + %th{ role: 'columnheader', scope: 'col', 'aria-colindex': 2 }= _('Integration') + %th.d-none.d-sm-block{ role: 'columnheader', scope: 'col', 'aria-colindex': 3 }= _('Description') + %th{ role: 'columnheader', scope: 'col', 'aria-colindex': 4 }= _('Last updated') + + %tbody{ role: 'rowgroup' } + - @integrations&.each do |integration| + %tr{ role: 'row' } + %td{ role: 'cell', 'aria-colindex': 1 } + = boolean_to_icon integration.activated? + %td{ role: 'cell', 'aria-colindex': 2 } + = link_to edit_integration_path(integration) do + %strong= integration.title + %td.d-none.d-sm-block{ role: 'cell', 'aria-colindex': 3 } + = integration.description + %td{ role: 'cell', 'aria-colindex': 4 } + - if integration.updated_at.present? + = time_ago_with_tooltip integration.updated_at |