File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 37
37
td {
38
38
padding : 1px 10px 1px 10px ;
39
39
text-align : right;
40
+ font-size : smaller;
41
+ }
42
+ span .expired {
43
+ a {
44
+ color : red;
45
+ background-color : # ffe5e5 ; /* 薄い赤背景 */
46
+ }
40
47
}
41
48
td .url-cell {
42
49
white-space : normal; /* 改行を許可 */
74
81
< td >
75
82
< small >
76
83
<% if dojo [ :event_url ] . nil? %>
77
- <%= dojo [ :event_at ] %>
84
+ < span > <%= dojo [ :event_at ] %> </ span >
85
+ <% elsif dojo [ :event_at ] <= Time . current . prev_year && !dojo [ :note ] . include? ( 'Active' ) %>
86
+ <!-- 1年以上開催が確認できていない Dojo で、"Active" の確認が無い場合はハイライトする -->
87
+ < span class ='expired '> < a href ="<%= dojo [ :event_url ] %> "> <%= dojo [ :event_at ] %> </ a > </ span >
78
88
<% else %>
79
- < a href ="<%= dojo [ :event_url ] %> "> <%= dojo [ :event_at ] %> </ a >
89
+ < span > < a href ="<%= dojo [ :event_url ] %> "> <%= dojo [ :event_at ] %> </ a > </ span >
80
90
<% end %>
81
91
</ small >
82
92
</ td >
Original file line number Diff line number Diff line change 807
807
- toio
808
808
- id : 86
809
809
order : ' 122041'
810
- note : Forms 管理に移行
810
+ note : Active - Forms 管理に移行 - https://funabashi.coderdojo.chiba.jp/
811
811
created_at : ' 2017-05-16'
812
812
name : 船橋
813
813
prefecture_id : 12
3613
3613
- Minecraft
3614
3614
- id : 188
3615
3615
order : ' 363421'
3616
- note : 独自サービスでイベント管理 https://www.in-kamiyama.jp/events
3616
+ note : Active - 独自サービスでイベント管理 https://www.in-kamiyama.jp/events
3617
3617
created_at : ' 2018-12-13'
3618
3618
name : 神山
3619
3619
prefecture_id : 36
3841
3841
- micro:bit
3842
3842
- id : 269
3843
3843
order : ' 412015'
3844
+ note : Active - peatix でイベント管理 https://peatix.com/group/10488940
3844
3845
created_at : ' 2021-05-03'
3845
3846
name : さが
3846
3847
prefecture_id : 41
3847
3848
logo : " /img/dojos/saga.webp"
3848
- url : https://peatix.com/group/10488940/view
3849
+ url : https://peatix.com/group/10488940
3849
3850
description : 佐賀市で毎月開催
3850
3851
tags :
3851
3852
- Viscuit
You can’t perform that action at this time.
0 commit comments