Sha256: 82937b1936cdfc71db86e2202768746b19680b6c63b5ca9d64cca1c3dbc7bf24
Contents?: true
Size: 574 Bytes
Versions: 10
Compression:
Stored size: 574 Bytes
Contents
module Pageflow module Admin class UsersTab < ViewComponent def build(theming) account = theming.account if account.users.any? table_for account.users, :i18n => User do column :full_name do |user| link_to user.full_name, admin_user_path(user) end end else div :class => "blank_slate_container" do span :class => "blank_slate" do I18n.t('pageflow.admin.accounts.no_members') end end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems