2021-06-08 01:23:25 +05:30
|
|
|
- integration = chat_name.integration
|
|
|
|
- project = integration.project
|
2017-08-17 22:00:37 +05:30
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
%strong
|
|
|
|
- if can?(current_user, :read_project, project)
|
2018-03-27 19:54:05 +05:30
|
|
|
= link_to project.full_name, project_path(project)
|
2017-08-17 22:00:37 +05:30
|
|
|
- else
|
2021-04-29 21:17:54 +05:30
|
|
|
.light= _('N/A')
|
2017-08-17 22:00:37 +05:30
|
|
|
%td
|
|
|
|
%strong
|
|
|
|
- if can?(current_user, :admin_project, project)
|
2021-06-08 01:23:25 +05:30
|
|
|
= link_to integration.title, edit_project_service_path(project, integration)
|
2017-08-17 22:00:37 +05:30
|
|
|
- else
|
2021-06-08 01:23:25 +05:30
|
|
|
= integration.title
|
2017-08-17 22:00:37 +05:30
|
|
|
%td
|
|
|
|
= chat_name.team_domain
|
|
|
|
%td
|
|
|
|
= chat_name.chat_name
|
|
|
|
%td
|
|
|
|
- if chat_name.last_used_at
|
|
|
|
= time_ago_with_tooltip(chat_name.last_used_at)
|
|
|
|
- else
|
2019-09-04 21:01:54 +05:30
|
|
|
= _('Never')
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
%td
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to _('Remove'), profile_chat_name_path(chat_name), method: :delete, class: 'gl-button btn btn-danger float-right', data: { confirm: _('Are you sure you want to revoke this nickname?') }
|