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