|
@@ -68,17 +68,17 @@ div.full-size(
|
|
|
i.rp-icon-delete(ng-switch-when="delete")
|
|
i.rp-icon-delete(ng-switch-when="delete")
|
|
|
|
|
|
|
|
.rp-entry-metadata
|
|
.rp-entry-metadata
|
|
|
- {{ users[entry.metadata.user_id].name }} {{ entry.metadata.ts }}
|
|
|
|
|
|
|
+ p.rp-entry-metadata-line(style="color: hsl({{ users[entry.metadata.user_id].hue }}, 70%, 50%);") {{ users[entry.metadata.user_id].name }}
|
|
|
|
|
+ p.rp-entry-metadata-line {{ entry.metadata.ts }}
|
|
|
.rp-entry-avatar(style="background-color: hsl({{ users[entry.metadata.user_id].hue }}, 70%, 50%);") {{ users[entry.metadata.user_id].avatar_text }}
|
|
.rp-entry-avatar(style="background-color: hsl({{ users[entry.metadata.user_id].hue }}, 70%, 50%);") {{ users[entry.metadata.user_id].avatar_text }}
|
|
|
- .rp-entry-body
|
|
|
|
|
- {{ entry.content }}
|
|
|
|
|
-<<<<<<< HEAD
|
|
|
|
|
- .review-entry-actions
|
|
|
|
|
|
|
+ .rp-entry-body(ng-switch="entry.type")
|
|
|
|
|
+ span(ng-switch-when="insert") Added
|
|
|
|
|
+ span.rp-content-highlight {{ entry.content }}
|
|
|
|
|
+ span(ng-switch-when="delete") Deleted
|
|
|
|
|
+ span.rp-content-highlight {{ entry.content }}
|
|
|
|
|
+ .rp-entry-actions
|
|
|
a(href, ng-click="acceptChange(entry_id)") Accept
|
|
a(href, ng-click="acceptChange(entry_id)") Accept
|
|
|
a(href, ng-click="rejectChange(entry_id)") Reject
|
|
a(href, ng-click="rejectChange(entry_id)") Reject
|
|
|
-=======
|
|
|
|
|
- .rp-entry-actions
|
|
|
|
|
->>>>>>> cb425e7dba4f0caa9629cc7f5c45b4a4992de609
|
|
|
|
|
|
|
|
|
|
div(ng-if="entry.type == 'comment'")
|
|
div(ng-if="entry.type == 'comment'")
|
|
|
div(ng-repeat="comment in entry.thread", class="comment-thread__comment")
|
|
div(ng-repeat="comment in entry.thread", class="comment-thread__comment")
|