mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fixed errors with anonymous track changes (#4260)
GitOrigin-RevId: 63806b22e95ff80ec78d53170f6dc823196f5eac
This commit is contained in:
parent
343ab44172
commit
ab15252843
1 changed files with 6 additions and 2 deletions
|
@ -284,7 +284,9 @@ script(type='text/ng-template', id='changeEntryTemplate')
|
|||
) {{ isCollapsed ? '… (#{translate("show_all")})' : ' (#{translate("show_less")})' }}
|
||||
.rp-entry-metadata
|
||||
| {{ entry.metadata.ts | date : 'MMM d, y h:mm a' }} •
|
||||
span.rp-entry-user(style="color: hsl({{ user.hue }}, 70%, 40%);") {{ user.name }}
|
||||
span.rp-entry-user(ng-switch="user.name" style="color: hsl({{ user.hue }}, 70%, 40%);")
|
||||
span(ng-switch-when="undefined") #{translate("anonymous")}
|
||||
span(ng-switch-default) {{ user.name }}
|
||||
.rp-entry-actions(ng-if="permissions.write")
|
||||
a.rp-entry-button(href, ng-click="onReject();")
|
||||
i.fa.fa-times
|
||||
|
@ -327,7 +329,9 @@ script(type='text/ng-template', id='aggregateChangeEntryTemplate')
|
|||
) {{ isInsertionCollapsed ? '… (#{translate("show_all")})' : ' (#{translate("show_less")})' }}
|
||||
.rp-entry-metadata
|
||||
| {{ entry.metadata.ts | date : 'MMM d, y h:mm a' }} •
|
||||
span.rp-entry-user(style="color: hsl({{ user.hue }}, 70%, 40%);") {{ user.name }}
|
||||
span.rp-entry-user(ng-switch="user.name" style="color: hsl({{ user.hue }}, 70%, 40%);")
|
||||
span(ng-switch-when="undefined") #{translate("anonymous")}
|
||||
span(ng-switch-default) {{ user.name }}
|
||||
.rp-entry-actions(ng-if="permissions.write")
|
||||
a.rp-entry-button(href, ng-click="onReject();")
|
||||
i.fa.fa-times
|
||||
|
|
Loading…
Reference in a new issue