Demo day videos

pull/1/head
Oliver Kennedy 2019-12-06 21:33:19 -05:00
parent 0bbf334836
commit 5385b34f6d
Signed by: okennedy
GPG Key ID: 3E5F9B3ABD3FDB60
2 changed files with 853 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -121,7 +121,12 @@ events:
<dl style="margin-left: 20px;">
<% groups.each do |group_data|
project = group_data["title"]
project = "<a href=\"#{group_data["url"]}\">#{project}</a>" if group_data.include? "url"
supplements = {}
supplements["link"] = group_data["url"] if group_data.include? "url"
supplements["video"] = group_data["video"] if group_data.include? "video"
if supplements.size > 0
project += " [ "+supplements.map { |k,v| "<a href='#{v}'>#{k}</a>" }.join(" | ")+" ]"
end
team = group_data["group"]
%>
<dt style="display: run-in; font-size: 110%; font-weight: normal; text-decoration: underline;"><b><%= project_id += 1 %>.</b> <%= project %></dt>