mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
55 lines
No EOL
1.7 KiB
Text
55 lines
No EOL
1.7 KiB
Text
div#trackChanges(ng-show="ui.view == 'track-changes'")
|
|
aside.change-list(
|
|
ng-controller="TrackChangesListController"
|
|
)
|
|
ul.list-unstyled(
|
|
ng-class="{\
|
|
'hover-state': trackChanges.hoveringOverListSelectors\
|
|
}"
|
|
)
|
|
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,\
|
|
'selected-from': update.selectedFrom,\
|
|
'hover-selected': update.inHoverSelection,\
|
|
'hover-selected-to': update.hoverSelectedTo,\
|
|
'hover-selected-from': update.hoverSelectedFrom,\
|
|
}"
|
|
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"
|
|
ng-mouseover="mouseOverSelectedFrom()"
|
|
ng-mouseout="mouseOutSelectedFrom()"
|
|
ng-show="update.afterSelection || update.inSelection"
|
|
)
|
|
form
|
|
input.selector-to(
|
|
type="radio"
|
|
name="toVersion"
|
|
ng-model="update.selectedTo"
|
|
ng-value="true"
|
|
ng-mouseover="mouseOverSelectedTo()"
|
|
ng-mouseout="mouseOutSelectedTo()"
|
|
ng-show="update.beforeSelection || update.inSelection"
|
|
)
|
|
|
|
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}} |