summaryrefslogtreecommitdiff
path: root/app/views/profiles/chat_names/index.html.haml
blob: 0c8098a97d58b2bec3a4ea9f1f469b4e6ccf43ed (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
30
- page_title _('Chat')
- @content_class = "limit-container-width" unless fluid_layout

.row.prepend-top-default
  .col-lg-4.profile-settings-sidebar
    %h4.prepend-top-0
      = page_title
    %p
      = _('You can see your chat accounts.')

  .col-lg-8
    %h5 Active chat names (#{@chat_names.size})

    - if @chat_names.present?
      .table-responsive
        %table.table.chat-names
          %thead
            %tr
              %th= _('Project')
              %th= _('Service')
              %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.")