2014-06-26 11:39:52 -04:00
|
|
|
div#trackChanges(ng-show="ui.view == 'track-changes'")
|
2014-06-26 12:22:06 -04:00
|
|
|
aside.change-list(
|
|
|
|
ng-controller="TrackChangesListController"
|
|
|
|
)
|
|
|
|
ul.list-unstyled(
|
|
|
|
ng-class="{\
|
|
|
|
'hover-state': trackChanges.hoveringOverListSelectors\
|
|
|
|
}"
|
|
|
|
)
|
2014-06-26 11:39:52 -04:00
|
|
|
li.change(
|
|
|
|
ng-repeat="update in trackChanges.updates"
|
|
|
|
ng-class="{\
|
|
|
|
'first-in-day': update.meta.first_in_day,\
|
|
|
|
'selected': update.inSelection,\
|
|
|
|
'selected-to': update.selectedTo,\
|
2014-06-26 12:22:06 -04:00
|
|
|
'selected-from': update.selectedFrom,\
|
|
|
|
'hover-selected': update.inHoverSelection,\
|
|
|
|
'hover-selected-to': update.hoverSelectedTo,\
|
|
|
|
'hover-selected-from': update.hoverSelectedFrom,\
|
2014-06-26 11:39:52 -04:00
|
|
|
}"
|
|
|
|
ng-controller="TrackChangesListItemController"
|
|
|
|
)
|
|
|
|
|
|
|
|
div.day(ng-show="update.meta.first_in_day") {{ update.meta.end_ts | relativeDate }}
|
|
|
|
|
|
|
|
div.selectors
|
|
|
|
div.range
|
|
|
|
form
|
|
|
|
input.selector-from(
|
|
|
|
type="radio"
|
|
|
|
name="fromVersion"
|
|
|
|
ng-model="update.selectedFrom"
|
|
|
|
ng-value="true"
|
2014-06-26 12:22:06 -04:00
|
|
|
ng-mouseover="mouseOverSelectedFrom()"
|
|
|
|
ng-mouseout="mouseOutSelectedFrom()"
|
|
|
|
ng-show="update.afterSelection || update.inSelection"
|
2014-06-26 11:39:52 -04:00
|
|
|
)
|
|
|
|
form
|
|
|
|
input.selector-to(
|
|
|
|
type="radio"
|
|
|
|
name="toVersion"
|
|
|
|
ng-model="update.selectedTo"
|
|
|
|
ng-value="true"
|
2014-06-26 12:22:06 -04:00
|
|
|
ng-mouseover="mouseOverSelectedTo()"
|
|
|
|
ng-mouseout="mouseOutSelectedTo()"
|
|
|
|
ng-show="update.beforeSelection || update.inSelection"
|
2014-06-26 11:39:52 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
div.description(ng-click="select()")
|
|
|
|
div.time {{ update.meta.end_ts | formatDate:'h:mm a' }}
|
|
|
|
div.docs(ng-repeat="(doc_id, doc) in update.docs")
|
|
|
|
span.doc {{ doc.entity.name }}
|
|
|
|
div.users
|
|
|
|
span.user(ng-repeat="user in update.meta.users")
|
|
|
|
| {{user.first_name}} {{user.last_name}}
|