2021-06-08 01:23:25 +05:30
|
|
|
- integration = chat_name.integration
|
2023-03-17 16:20:25 +05:30
|
|
|
- project = integration&.project
|
2017-08-17 22:00:37 +05:30
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
%strong
|
2023-03-17 16:20:25 +05:30
|
|
|
- if project.present? && 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
|
2022-07-23 23:45:48 +05:30
|
|
|
.light= _('Not applicable.')
|
2017-08-17 22:00:37 +05:30
|
|
|
%td
|
|
|
|
%strong
|
2023-03-17 16:20:25 +05:30
|
|
|
- if integration.present? && can?(current_user, :admin_project, project)
|
2022-07-23 23:45:48 +05:30
|
|
|
= link_to integration.title, edit_project_settings_integration_path(project, integration)
|
2023-03-17 16:20:25 +05:30
|
|
|
- elsif integration.present?
|
2021-06-08 01:23:25 +05:30
|
|
|
= integration.title
|
2023-03-17 16:20:25 +05:30
|
|
|
- else
|
|
|
|
.light= _('Not applicable.')
|
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
|
2022-05-07 20:08:51 +05:30
|
|
|
= link_to _('Remove'), profile_chat_name_path(chat_name), method: :delete, class: 'gl-button btn btn-danger float-right', aria: { label: _('Remove') }, data: { confirm: _('Are you sure you want to remove this nickname?'), confirm_btn_variant: 'danger' }
|