-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6865 from fjordllc/feature/display-do-not-partici…
…pate-regular-event-and-special-event-on-dashboard ダッシュボードの近日開催のイベントに、参加していない定期イベントも表示するようにした&参加登録済イベントに表示をつけた
- Loading branch information
Showing
33 changed files
with
354 additions
and
209 deletions.
There are no files selected for viewing
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
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
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,11 +1,24 @@ | ||
- title '特別イベント編集' | ||
- set_meta_tags description: '特別イベント編集ページです。' | ||
|
||
header.page-header | ||
.container | ||
.page-header__inner | ||
h2.page-header__title = title | ||
hr.a-border | ||
.page-body | ||
.container.is-xxl | ||
= render 'form', event: @event | ||
= render 'events/header' | ||
= render 'events/tabs' | ||
|
||
.page-main | ||
header.page-main-header | ||
.container | ||
.page-main-header__inner | ||
.page-main-header__start | ||
h2.page-header__title | ||
= title | ||
.page-main-header__end | ||
.page-main-header-actions | ||
ul.page-main-header-actions__items | ||
li.page-main-header-actions__item | ||
= link_to events_path, class: 'a-button is-md is-secondary is-block is-back' do | ||
| 特別イベント一覧 | ||
hr.a-border | ||
|
||
.page-body | ||
.container.is-xxl | ||
= render 'form', event: @event |
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,16 +1,23 @@ | ||
- title '特別イベント作成' | ||
- set_meta_tags description: '特別イベント作成ページです。' | ||
|
||
header.page-header | ||
.container | ||
.page-header__inner | ||
h2.page-header__title = title | ||
.page-header-actions | ||
.page-header-actions__items | ||
.page-header-actions__item | ||
= link_to events_path, class: 'a-button is-md is-secondary is-block is-back' do | ||
| 特別イベント一覧 | ||
hr.a-border | ||
.page-body | ||
.container.is-xxl | ||
= render 'form', event: @event | ||
= render 'events/header' | ||
= render 'events/tabs' | ||
|
||
.page-main | ||
header.page-main-header | ||
.container | ||
.page-main-header__inner | ||
.page-main-header__start | ||
h2.page-header__title | ||
= title | ||
.page-main-header__end | ||
.page-main-header-actions | ||
ul.page-main-header-actions__items | ||
li.page-main-header-actions__item | ||
= link_to events_path, class: 'a-button is-md is-secondary is-block is-back' do | ||
| 特別イベント一覧 | ||
hr.a-border | ||
.page-body | ||
.container.is-xxl | ||
= render 'form', event: @event |
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,58 +1,63 @@ | ||
- title @event.title | ||
- set_meta_tags description: "特別イベント「#{@event.title}」のページです。#{@event.period}に開催。" | ||
|
||
header.page-header | ||
.container | ||
.page-header__inner | ||
.page-header__title | ||
| イベント | ||
.page-header-actions | ||
ul.page-header-actions__items | ||
- if admin_or_mentor_login? | ||
li.page-header-actions__item.is-only-mentor | ||
= link_to new_event_path, class: 'a-button is-md is-secondary is-block' do | ||
i.fa-regular.fa-plus | ||
| 特別イベント作成 | ||
li.page-header-actions__item | ||
= link_to events_path, class: 'a-button is-md is-secondary is-block is-back' do | ||
| 特別イベント一覧 | ||
|
||
= render 'events/header' | ||
= render 'events/tabs' | ||
|
||
- if @event.wip? | ||
.a-page-notice.is-danger | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| 公開されるまでお待ちください。 | ||
- elsif [email protected]? | ||
.page-main | ||
header.page-main-header | ||
.container | ||
.page-main-header__inner | ||
.page-main-header__start | ||
.page-main-header__title | ||
| 特別イベント | ||
.page-main-header__end | ||
.page-main-header-actions | ||
ul.page-main-header-actions__items | ||
li.page-main-header-actions__item | ||
= link_to new_event_path, class: 'a-button is-md is-secondary is-block' do | ||
i.fa-regular.fa-plus | ||
| 特別イベント作成 | ||
li.page-main-header-actions__item | ||
= link_to events_path, class: 'a-button is-md is-secondary is-block is-back' do | ||
| 特別イベント一覧 | ||
|
||
- if @event.wip? | ||
.a-page-notice.is-danger | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| 公開されるまでお待ちください。 | ||
- elsif @event.before_opening? | ||
.a-page-notice.is-danger | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| 募集開始までお待ち下さい。 | ||
- elsif @event.closing? | ||
.a-page-notice.is-muted | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| 募集受付は終了しました。 | ||
- elsif [email protected]? | ||
- if @event.wip? | ||
.a-page-notice.is-danger | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| 公開されるまでお待ちください。 | ||
- elsif @event.before_opening? | ||
.a-page-notice.is-danger | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| 募集開始までお待ち下さい。 | ||
- elsif @event.closing? | ||
.a-page-notice.is-muted | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| 募集受付は終了しました。 | ||
- else | ||
.a-page-notice.is-muted | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| このイベントは終了しました。 | ||
- else | ||
.a-page-notice.is-muted | ||
.container.is-md | ||
.a-page-notice__inner | ||
p | ||
| このイベントは終了しました。 | ||
hr.a-border | ||
|
||
.page-body | ||
.container.is-md | ||
= render 'event', event: @event | ||
#js-comments(data-commentable-id="#{@event.id}" data-commentable-type='Event' data-current-user-id="#{current_user.id}") | ||
div(data-vue='Footprints' data-vue-footprintable-id="#{@event.id}" data-vue-footprintable-type='Event') | ||
.page-body | ||
.container.is-md | ||
= render 'event', event: @event | ||
#js-comments(data-commentable-id="#{@event.id}" data-commentable-type='Event' data-current-user-id="#{current_user.id}") | ||
div(data-vue='Footprints' data-vue-footprintable-id="#{@event.id}" data-vue-footprintable-type='Event') |
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
Oops, something went wrong.