Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/views/home/_adviser_dashboard.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
.dashboard-category__body
.a-panels
.a-panels__items
- if @upcoming_pair_works.present?
= render 'upcoming_pair_works', upcoming_pair_works: @upcoming_pair_works
- if @upcoming_events_groups.present?
= render 'upcoming_events_groups', upcoming_events_groups: @upcoming_events_groups
.a-panels__item
Expand Down
2 changes: 2 additions & 0 deletions app/views/home/_mentor_dashboard.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
.dashboard-category__body
.a-panels
.a-panels__items
- if @upcoming_pair_works.present?
= render 'upcoming_pair_works', upcoming_pair_works: @upcoming_pair_works
- if @upcoming_events_groups.present?
= render 'upcoming_events_groups', upcoming_events_groups: @upcoming_events_groups
- if @announcements.present?
Expand Down
2 changes: 1 addition & 1 deletion db/fixtures/pair_works.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pair_work3:
reserved_at: <%= Time.current.beginning_of_day + 23.hours %>
user: kimura
practice: null
buddy: sotugyou
buddy: advijirou
published_at: <%= Time.current %>
created_at: <%= Time.current %>
wip: false