-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates grid container on admin ban, member, feedback and portal pages
- Loading branch information
1 parent
e27923b
commit eb5b026
Showing
11 changed files
with
74 additions
and
160 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.container-fluid.pt-3 | ||
.container.py-4.py-lg-5 | ||
- if @feedback.any? | ||
.row | ||
.col | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
#admin-member | ||
= render 'actions' | ||
.container-fluid.mb-4.mb-md-0 | ||
.row | ||
.col-12.col-md-3 | ||
= render 'profile' | ||
.col-12.col-md-9 | ||
%p | ||
=link_to admin_member_path(@member) do | ||
%i.fas.fa-arrow-left | ||
Back to member summary | ||
- if @member.upcoming_rsvps.any? | ||
%h3 Upcoming RSVPs | ||
- @member.upcoming_rsvps.each do |invitation| | ||
= render EventPresenter.decorate(invitation.event), invitation: invitation | ||
= render 'actions' | ||
.container.py-4.py-lg-5 | ||
.row | ||
.col-12.col-md-3 | ||
= render 'profile' | ||
.col-12.col-md-9 | ||
%p | ||
=link_to admin_member_path(@member) do | ||
%i.fas.fa-arrow-left | ||
Back to member summary | ||
- if @member.upcoming_rsvps.any? | ||
%h3 Upcoming RSVPs | ||
- @member.upcoming_rsvps.each do |invitation| | ||
= render EventPresenter.decorate(invitation.event), invitation: invitation | ||
|
||
- if @member.past_rsvps.any? | ||
%h3 Past RSVPs | ||
.digg_pagination.mb-3 | ||
.page_info | ||
= page_entries_info(@member.past_rsvps.paginate(per_page: 20, page: params['page']), model: 'past events') | ||
= will_paginate(@member.past_rsvps.paginate(per_page: 20, page: params['page'])) | ||
- if @member.past_rsvps.any? | ||
%h3 Past RSVPs | ||
.digg_pagination.mb-3 | ||
.page_info | ||
= page_entries_info(@member.past_rsvps.paginate(per_page: 20, page: params['page']), model: 'past events') | ||
= will_paginate(@member.past_rsvps.paginate(per_page: 20, page: params['page'])) | ||
|
||
- @member.past_rsvps.paginate(per_page: 20, page: params['page']).each do |invitation| | ||
= render EventPresenter.decorate(invitation.event), invitation: invitation | ||
- @member.past_rsvps.paginate(per_page: 20, page: params['page']).each do |invitation| | ||
= render EventPresenter.decorate(invitation.event), invitation: invitation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
.container-fluid | ||
.container.py-4.py-lg-5 | ||
.row.mb-4 | ||
.col | ||
%h1 Members Directory | ||
.row.mb-4 | ||
.col-12.col-md-6 | ||
= select_tag 'member_lookup_id', options_for_select(@members.collect{ |u| [u.full_name, u.id] }), { class: 'chosen-select' } | ||
.row.mb-4 | ||
.row | ||
.col | ||
= link_to 'View Profile', '#', { class: 'btn btn-primary', id: 'view_profile' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
#admin-member | ||
= render 'actions' | ||
.container-fluid.mb-4 | ||
.row | ||
.col-12.col-md-3 | ||
= render 'profile' | ||
.col-12.col-md-9 | ||
.row | ||
.col | ||
%ul.list-unstyled.m-1#actions | ||
- @actions.each do |action| | ||
%li.border-bottom.border-light.mb-3= render action, action: action | ||
= render 'actions' | ||
.container.py-4.py-lg-5 | ||
.row | ||
.col-12.col-md-3 | ||
= render 'profile' | ||
.col-12.col-md-9 | ||
.row | ||
.col | ||
%ul.list-unstyled#actions | ||
- @actions.each do |action| | ||
%li.border-bottom.mb-3.pb-3= render action, action: action | ||
|
||
.row.d-flex.align-items-center | ||
.col-2.col-md-1 | ||
%span.fa-stack.text-success | ||
%i.fas.fa-circle.fa-stack-2x | ||
%i.fas.fa-user-plus.fa-stack-1x.fa-inverse | ||
.col-9.col-md-11 | ||
%strong Signed up | ||
= l(@member.created_at, format: :website_format) | ||
.row.d-flex.align-items-center | ||
.col-2.col-md-1 | ||
%span.fa-stack.text-success | ||
%i.fas.fa-circle.fa-stack-2x | ||
%i.fas.fa-user-plus.fa-stack-1x.fa-inverse | ||
.col-9.col-md-11 | ||
%strong Signed up | ||
= l(@member.created_at, format: :website_format) | ||
|
||
|
||
- if @member.upcoming_rsvps.any? | ||
.row | ||
.col | ||
%h3.mt-4 Upcoming RSVPs | ||
- @member.upcoming_rsvps.each do |invitation| | ||
= render EventPresenter.decorate(invitation.event), invitation: invitation | ||
.row.mt-4 | ||
- if @member.upcoming_rsvps.any? | ||
.row | ||
.col | ||
= link_to 'View all RSVPS', admin_member_events_path(@member), class: 'btn btn-primary btn-block' | ||
%h3.mt-4 Upcoming RSVPs | ||
- @member.upcoming_rsvps.each do |invitation| | ||
= render EventPresenter.decorate(invitation.event), invitation: invitation | ||
.row.mt-4 | ||
.col | ||
= link_to 'View all RSVPS', admin_member_events_path(@member), class: 'btn btn-primary btn-block' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters