gab-social/app/views/admin/link_blocks/index.html.haml
mgabdev 51fa8f2eb4 Added/Updated admin dashboard tables
• Added:
- New Account filtering
- PreviewCard viewing/sorting/filtering deleting (todo)
- DeletePreviewCardWorker, Service
- Status viewing/sorting/filtering deleting
- ChatMessage viewing/sorting/filtering deleting (todo)
- Account > Follows view

• Updated:
- LinkBlock to sort alphabetically
- Groups to be under "Moderation" instead of "Admin" in navigation.rb
- Status in admin to have group name/link
- Reports reset button
- Group filtering/sorting
- LinkBlock filtering/sorting
- Account now has bio and few more data points in dashboard
2021-01-19 01:25:25 -05:00

24 lines
672 B
Plaintext

- content_for :page_title do
= t('admin.link_blocks.title')
= form_tag admin_link_blocks_url, method: 'GET', class: 'simple_form' do
.fields-group
.input.string.optional
= text_field_tag :link, params[:link], class: 'string optional', placeholder: "Link"
.actions
%button= t('admin.accounts.search')
= link_to t('admin.accounts.reset'), admin_link_blocks_path, class: 'button negative'
.table-wrapper
%table.table
%thead
%tr
%th= t('admin.link_blocks.link')
%th
%tbody
= render @link_blocks
= paginate @link_blocks
= link_to t('admin.link_blocks.add_new'), new_admin_link_block_path, class: 'button'