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