forked from Serhioromano/bootstrap-calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modal.html
10 lines (9 loc) · 826 Bytes
/
modal.html
1
2
3
4
5
6
7
8
9
10
<% event.date_start = new Date(parseInt(event.start));
event.date_end = new Date(parseInt(event.end)); %>
<div id = "event-meta" class = "pull-right">
<span>Starts on <%= event.date_start.getDate() %> <%= calendar.locale["m" + event.date_start.getMonth()] %> <%= event.date_start.getFullYear() %>, at <%= event.date_start.getHours() %>:<%= event.date_start.getMinutes() %> <i class = "icon-time"></i></span><br />
<span>Ends on <%= event.date_end.getDate() %> <%= calendar.locale["m" + event.date_end.getMonth()] %> <%= event.date_end.getFullYear() %> at <%= event.date_end.getHours() %>:<%= event.date_end.getMinutes() %> <i class = "icon-time"></i></span><br />
</div>
<div style = "margin: 10px 0">
<a href = "<%= event.url %>" class = "btn btn-primary"><i class = "icon-calendar"></i> More info</a>
</div>