summaryrefslogtreecommitdiff
path: root/app/views/profiles/chat_names/index.html.haml
blob: 43d7c9bf7c66464ed60aa8b3772e7d4b0d3332b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
- page_title _('Chat')
- @content_class = "limit-container-width" unless fluid_layout

.row.gl-mt-3.js-search-settings-section
  .col-lg-4.profile-settings-sidebar
    %h4.gl-mt-0
      = page_title
    %p
      = _('You can see your chat accounts.')

  .col-lg-8
    %h5.gl-mt-0
      = sprintf(_('Active chat names (%{count})'), { count: @chat_names.size })

    - if @chat_names.present?
      .table-responsive
        %table.table
          %thead
            %tr
              %th= _('Team domain')
              %th= _('Nickname')
              %th= _('Last used')
              %th
          %tbody
            = render @chat_names

    - else
      .settings-message.text-center
        = _("You don't have any active chat names.")