mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 05:23:20 +00:00
List number of changes in diff
This commit is contained in:
parent
76415ae02b
commit
1c5778e2c4
1 changed files with 10 additions and 1 deletions
|
@ -85,7 +85,16 @@ div#trackChanges(ng-show="ui.view == 'track-changes'")
|
|||
ng-show="!!trackChanges.diff && !trackChanges.diff.loading && !trackChanges.diff.deleted && !trackChanges.diff.error"
|
||||
)
|
||||
.toolbar.toolbar-alt
|
||||
span.name Changes to <strong>{{trackChanges.diff.doc.name}}</strong>
|
||||
span.name
|
||||
| <strong>{{trackChanges.diff.highlights.length}} </strong>
|
||||
ng-pluralize(
|
||||
count="trackChanges.diff.highlights.length",
|
||||
when="{\
|
||||
'one': 'change',\
|
||||
'other': 'changes'\
|
||||
}"
|
||||
)
|
||||
| in <strong>{{trackChanges.diff.doc.name}}</strong>
|
||||
.toolbar-right
|
||||
a.btn.btn-danger.btn-sm(
|
||||
href,
|
||||
|
|
Loading…
Reference in a new issue