Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Commit

Permalink
Add date context to events in the month and year view
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Mar 30, 2015
1 parent efb0f2e commit e72df58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/calendarSlideBox.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
class="event-item"
ng-click="eventClick({$event: event})">
{{ event.title }}
<span ng-show="isMonthView">({{ event.starts_at | date:'shortTime' }})</span>
<span ng-show="isYearView">({{ event.starts_at | date:'MMM d, h:mm a' }})</span>
</a>

<a
Expand Down
1 change: 1 addition & 0 deletions templates/month.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
ng-repeat="day in week track by $index"
ng-click="dayClicked($parent.$index, $index)"
ng-class="{pointer: day.events.length > 0}">

<div
class="cal-month-day"
ng-class="{
Expand Down

0 comments on commit e72df58

Please sign in to comment.