2019-05-28 17:27:57 +00:00
|
|
|
- page_title _('Chat')
|
2017-06-22 14:47:50 +00:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2016-11-13 19:35:47 +00:00
|
|
|
|
2020-06-26 06:09:03 +00:00
|
|
|
.row.gl-mt-3
|
2017-06-22 14:47:50 +00:00
|
|
|
.col-lg-4.profile-settings-sidebar
|
2020-05-21 18:08:27 +00:00
|
|
|
%h4.gl-mt-0
|
2016-11-13 19:35:47 +00:00
|
|
|
= page_title
|
|
|
|
%p
|
2019-05-28 17:27:57 +00:00
|
|
|
= _('You can see your chat accounts.')
|
2016-11-13 19:35:47 +00:00
|
|
|
|
2017-06-22 14:47:50 +00:00
|
|
|
.col-lg-8
|
2021-01-11 12:10:41 +00:00
|
|
|
%h5.gl-mt-0 Active chat names (#{@chat_names.size})
|
2016-11-13 19:35:47 +00:00
|
|
|
|
|
|
|
- if @chat_names.present?
|
|
|
|
.table-responsive
|
|
|
|
%table.table.chat-names
|
|
|
|
%thead
|
|
|
|
%tr
|
2019-05-28 17:27:57 +00:00
|
|
|
%th= _('Project')
|
|
|
|
%th= _('Service')
|
|
|
|
%th= _('Team domain')
|
|
|
|
%th= _('Nickname')
|
|
|
|
%th= _('Last used')
|
2016-11-13 19:35:47 +00:00
|
|
|
%th
|
|
|
|
%tbody
|
2016-11-17 13:58:03 +00:00
|
|
|
= render @chat_names
|
2016-11-13 19:35:47 +00:00
|
|
|
|
|
|
|
- else
|
|
|
|
.settings-message.text-center
|
2019-05-28 17:27:57 +00:00
|
|
|
= _("You don't have any active chat names.")
|