formatting

This commit is contained in:
Oliver Kennedy 2018-03-05 10:28:42 -05:00
parent bb223a50b2
commit 8465489bc7

View file

@ -68,7 +68,7 @@ In this course, you will learn...
<% if data.fetch("due", "") != "" %><b>Due: <u><%= data["due"] %></u></b><br/><% end %>
<i><%=data["date"]%></i>:&nbsp;&nbsp;&nbsp;<% if data["type"] != "Lecture" %><%=data["type"]%> <% end %> <%=data["topic"]%>
<% unless data.fetch("materials", {}).empty? %> ( <%= data["materials"].map { |r,url| "<a href=\"#{url}\">#{r}</a>" }.join(" | ") %> )<% end %>
<% if data.has_key? "textbook" then %><div style="font-size:70%;"><%= data["textbook"] %></div><% end %>
<% if data.has_key? "textbook" then %><div style="font-size:70%; margin-left:50px;"><%= data["textbook"] %></div><% end %>
</li>
<% end %>
</ul>