File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 7575 < td >
7676 < small >
7777 <% if dojo [ :event_url ] . nil? %>
78- < span > <%= dojo [ :event_at ] %> </ span >
78+ <!-- 別サービスでイベント管理している Dojo で、"Active" の確認が無い場合はハイライトする -->
79+ < span class =<%= 'expired' if !dojo [ :note ] . include? ( 'Active' ) %> >
80+ <%= link_to dojo [ :event_at ] , dojo_path ( dojo [ :id ] ) %>
81+ </ span >
7982 <% elsif dojo [ :event_at ] <= Time . current . prev_year && !dojo [ :note ] . include? ( 'Active' ) %>
80- <!-- 1年以上開催が確認できていない Dojo で、"Active" の確認が無い場合はハイライトする -->
81- < span class ='expired '> < a href ="<%= dojo [ :event_url ] %> "> <%= dojo [ :event_at ] %> </ a > </ span >
83+ <!-- 過去1年間イベント開催していない Dojo で、"Active" の確認が無い場合はハイライトする -->
84+ < span class ='expired '>
85+ <%= link_to dojo [ :event_at ] , dojo [ :event_url ] %>
86+ </ span >
8287 <% else %>
83- < span > < a href ="<%= dojo [ :event_url ] %> "> <%= dojo [ :event_at ] %> </ a > </ span >
88+ < span >
89+ <%= link_to dojo [ :event_at ] , dojo [ :event_url ] %>
90+ </ span >
8491 <% end %>
8592 </ small >
8693 </ td >
You can’t perform that action at this time.
0 commit comments