Sha256: 91d4a36831d3f4287e863afefc9d513cbb9cd50ed40345900c32c3d99f872c71

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

- @title = t('.title', channel_name: parent.name)
.admin
  .row
    = render 'dune/admin/layouts/menu'
    section.content.large-12.columns
      .row
        .large-8.columns
          h3 = @title

        .large-4.columns.text-right
          = link_to t('.new'), new_channel_member_path(parent), class: 'button'
      .data-table
        = paginate @members
        - if @members.empty?
          = t('.no_members')
        - else
          table
            thead
              tr
                th
                  = t('.id')
                th
                  = t('.name')
                th
                  = t('.email')
                th
            tbody
              - @members.each do |member|
                tr id=member.id
                  td = member.id
                  td = link_to member.display_name, member
                  td = member.email
                  td
                    .text-right
                      = link_to t('.destroy'), channel_member_path(parent, member), method: :delete, confirm: t('neighborly.admin.confirm_dialog'), class: 'button tiny alert'

        = paginate @members

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dune-admin-1.0.0 app/views/dune/admin/channels/members/index.html.slim
dune-admin-1.2.1 app/views/dune/admin/channels/members/index.html.slim
dune-admin-1.2.0 app/views/dune/admin/channels/members/index.html.slim