Fixed errors with anonymous track changes (#4260)

GitOrigin-RevId: 63806b22e95ff80ec78d53170f6dc823196f5eac
This commit is contained in:
Miguel Serrano 2021-06-30 13:03:01 +02:00 committed by Copybot
parent 343ab44172
commit ab15252843

View file

@ -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