From 3fa45063447d3af6bc949b4a39d53b088858a226 Mon Sep 17 00:00:00 2001 From: Kazuto Kusama Date: Tue, 22 Oct 2024 01:25:48 +0900 Subject: [PATCH 1/2] fix track number --- db/fixtures/development/00_seeds.rb | 2 +- db/fixtures/production/00_seeds.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/fixtures/development/00_seeds.rb b/db/fixtures/development/00_seeds.rb index 8b96e7ecb..64c7172b9 100644 --- a/db/fixtures/development/00_seeds.rb +++ b/db/fixtures/development/00_seeds.rb @@ -415,7 +415,7 @@ { id: 51, number: 1, name: "A", conference_id: 12, room_id: 24}, { id: 52, number: 2, name: "B", conference_id: 12, room_id: 25}, { id: 53, number: 3, name: "C", conference_id: 12, room_id: 26}, - { id: 54, number: 3, name: "D", conference_id: 12, room_id: 27}, + { id: 54, number: 4, name: "D", conference_id: 12, room_id: 27}, ) diff --git a/db/fixtures/production/00_seeds.rb b/db/fixtures/production/00_seeds.rb index f1d803f8d..fabbdcf89 100644 --- a/db/fixtures/production/00_seeds.rb +++ b/db/fixtures/production/00_seeds.rb @@ -385,7 +385,7 @@ { id: 51, number: 1, name: "A", conference_id: 12, room_id: 24}, { id: 52, number: 2, name: "B", conference_id: 12, room_id: 25}, { id: 53, number: 3, name: "C", conference_id: 12, room_id: 26}, - { id: 54, number: 3, name: "D", conference_id: 12, room_id: 27}, + { id: 54, number: 4, name: "D", conference_id: 12, room_id: 27}, ) Room.seed( From 0cc3b504122da569b4f6a94c4420cebe128ff546 Mon Sep 17 00:00:00 2001 From: Kazuto Kusama Date: Tue, 22 Oct 2024 01:28:38 +0900 Subject: [PATCH 2/2] hide attend badge --- app/views/attendee_dashboards/show.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/attendee_dashboards/show.html.erb b/app/views/attendee_dashboards/show.html.erb index fe4ea34f3..7c2c51043 100644 --- a/app/views/attendee_dashboards/show.html.erb +++ b/app/views/attendee_dashboards/show.html.erb @@ -75,9 +75,11 @@
参加方法の変更は <%= link_to 'こちら', edit_profile_path(id: @profile.id) %> から

<% if @profile.attend_offline? %> + <% end %>