Skip to content

Commit d7da43b

Browse files
committed
細かなメモ情報を追記
1 parent 68cc4bf commit d7da43b

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

app/controllers/events_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def latest
2929
name: dojo.name,
3030
note: dojo.note,
3131
url: dojo.url,
32-
event_at: '2000-01-23',
33-
event_url: nil
32+
event_at: dojo.created_at.strftime("%Y-%m-%d"),
33+
event_url: nil,
3434
}
3535
else
3636
@latest_event_by_dojos << {

app/views/events/latest.html.erb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@
5959
<small>☯️ 道場名</small>
6060
</th>
6161
<th>
62-
<small>🗓 直近の開催日</small>
62+
<small><small>
63+
🗓 直近の開催日または掲載日
64+
</small></small>
6365
</th>
6466
<th>
6567
<small>📝 ノート</small>

db/dojos.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@
493493
- Islay
494494
- id: 8
495495
order: '082244'
496+
note: 'Active for years since founded!'
496497
created_at: '2016-07-12'
497498
name: 守谷
498499
prefecture_id: 8
@@ -691,6 +692,7 @@
691692
- Unity
692693
- id: 10
693694
order: '112305'
695+
note: 'Active for years since founded!'
694696
created_at: '2012-07-02'
695697
name: ひばりヶ丘
696698
prefecture_id: 11
@@ -863,6 +865,7 @@
863865
- Scratch
864866
- id: 23
865867
order: '122173'
868+
note: 'Active for years since founded!'
866869
created_at: '2014-09-22'
867870
name:
868871
prefecture_id: 12
@@ -3039,6 +3042,7 @@
30393042
- 電子工作
30403043
- id: 48
30413044
order: '281107'
3045+
note: 'Active for years since founded!'
30423046
created_at: '2016-09-28'
30433047
name: 神戸
30443048
prefecture_id: 28
@@ -3180,6 +3184,7 @@
31803184
- Minecraft
31813185
- id: 36
31823186
order: '292095'
3187+
note: 'Active since 2016!'
31833188
created_at: '2016-04-25'
31843189
name: 生駒
31853190
prefecture_id: 29
@@ -3274,6 +3279,7 @@
32743279
- Scratch
32753280
- id: 99
32763281
order: '302066'
3282+
note: 'Active for years since founded!'
32773283
created_at: '2017-09-06'
32783284
name: 南紀田辺
32793285
prefecture_id: 30

0 commit comments

Comments
 (0)