51fa8f2eb4
• 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
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
- content_for :page_title do
|
|
= t('admin.groups.title')
|
|
|
|
= form_tag admin_groups_url, method: 'GET', class: 'simple_form' do
|
|
.fields-group
|
|
.input.string.optional
|
|
= text_field_tag :id, params[:id], class: 'string optional', placeholder: "Id"
|
|
.input.string.optional
|
|
= text_field_tag :title, params[:title], class: 'string optional', placeholder: "Title"
|
|
.input.string.optional
|
|
= text_field_tag :description, params[:description], class: 'string optional', placeholder: "Description"
|
|
.input.string.optional
|
|
= text_field_tag :member_count_gte, params[:member_count_gte], class: 'string optional', placeholder: "Member Count >="
|
|
.input.string.optional
|
|
= text_field_tag :created_at_gte, params[:created_at_gte], class: 'string optional', placeholder: "Created >= (MM-DD-YYYY)"
|
|
.actions
|
|
%button= t('admin.accounts.search')
|
|
= link_to t('admin.accounts.reset'), admin_groups_path, class: 'button negative'
|
|
|
|
.table-wrapper
|
|
%table.table
|
|
%thead
|
|
%tr
|
|
%th= t('admin.groups.id')
|
|
%th= t('admin.groups.title')
|
|
%th= t('admin.groups.member_count')
|
|
%th Featured?
|
|
%th
|
|
%th
|
|
%tbody
|
|
= render @groups
|
|
|
|
= paginate @groups |