Use 'show all' instead of 'more'

This commit is contained in:
James Allen 2017-01-16 15:06:47 +01:00
parent 1ed0ccf854
commit 278bfc1f50

View file

@ -142,14 +142,14 @@ script(type='text/ng-template', id='changeEntryTemplate')
href href
ng-if="needsCollapsing" ng-if="needsCollapsing"
ng-click="toggleCollapse();" ng-click="toggleCollapse();"
)  {{ isCollapsed ? '(more)' : '(less)' }} ) {{ isCollapsed ? '... (show all)' : ' (show less)' }}
span(ng-switch-when="delete") Deleted  span(ng-switch-when="delete") Deleted 
del.rp-content-highlight {{ entry.content | limitTo:(isCollapsed ? contentLimit : entry.content.length) }} del.rp-content-highlight {{ entry.content | limitTo:(isCollapsed ? contentLimit : entry.content.length) }}
a.rp-collapse-toggle( a.rp-collapse-toggle(
href href
ng-if="needsCollapsing" ng-if="needsCollapsing"
ng-click="toggleCollapse();" ng-click="toggleCollapse();"
)  {{ isCollapsed ? '(more)' : '(less)' }} ) {{ isCollapsed ? '... (show all)' : ' (show less)' }}
.rp-entry-metadata .rp-entry-metadata
| {{ entry.metadata.ts | date : 'MMM d, y h:mm a' }} •  | {{ 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(style="color: hsl({{ user.hue }}, 70%, 40%);") {{ user.name }}