Fix indentation

This commit is contained in:
James Allen 2016-11-09 17:12:01 +00:00
parent f62d95dd8c
commit ca178c1a85

View file

@ -57,37 +57,37 @@ div.full-size(
ng-class="'review-entry-callout-' + entry.type" ng-class="'review-entry-callout-' + entry.type"
style="top: {{ entry.screenPos.y + 15 }}px; height: {{ top - entry.screenPos.y }}px" style="top: {{ entry.screenPos.y + 15 }}px; height: {{ top - entry.screenPos.y }}px"
) )
.review-entry( .review-entry(
ng-class="'review-entry-' + entry.type" ng-class="'review-entry-' + entry.type"
ng-style="{'top': top}" ng-style="{'top': top}"
) )
div(ng-if="entry.type == 'insert' || entry.type == 'delete'") div(ng-if="entry.type == 'insert' || entry.type == 'delete'")
.review-entry-header .review-entry-header
.review-entry-header-action-icon .review-entry-header-action-icon
.review-entry-header-metadata .review-entry-header-metadata
{{ users[entry.metadata.user_id].name }} {{ entry.metadata.ts }} {{ users[entry.metadata.user_id].name }} {{ entry.metadata.ts }}
.review-entry-header-avatar(style="background-color: hsl({{ users[entry.metadata.user_id].hue }}, 70%, 50%);") {{ users[entry.metadata.user_id].avatar_text }} .review-entry-header-avatar(style="background-color: hsl({{ users[entry.metadata.user_id].hue }}, 70%, 50%);") {{ users[entry.metadata.user_id].avatar_text }}
.review-entry-body .review-entry-body
{{ entry.content }} {{ entry.content }}
.review-entry-actions .review-entry-actions
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")
div.small(style="color: hsl({{ users[comment.user_id].hue }}, 70%, 50%)") {{ users[comment.user_id].name }} div.small(style="color: hsl({{ users[comment.user_id].hue }}, 70%, 50%)") {{ users[comment.user_id].name }}
div.small {{ comment.ts }} div.small {{ comment.ts }}
| {{ comment.content }} | {{ comment.content }}
div(ng-if="entry.replying") div(ng-if="entry.replying")
textarea(ng-model="entry.replyContent") textarea(ng-model="entry.replyContent")
a.btn.btn-sm.btn-primary(href, ng-click="submitReply(entry)") Submit a.btn.btn-sm.btn-primary(href, ng-click="submitReply(entry)") Submit
a(href, ng-click="cancelReply(entry)") X a(href, ng-click="cancelReply(entry)") X
a.btn.btn-sm.btn-primary(href, ng-click="startReply(entry)", ng-if="!entry.replying") Reply a.btn.btn-sm.btn-primary(href, ng-click="startReply(entry)", ng-if="!entry.replying") Reply
div(ng-if="entry.type == 'focus-position'") div(ng-if="entry.type == 'focus-position'")
a.btn.btn-sm(href, ng-if="!commentState.adding", ng-click="startNewComment()") Add comment a.btn.btn-sm(href, ng-if="!commentState.adding", ng-click="startNewComment()") Add comment
div(ng-if="commentState.adding") div(ng-if="commentState.adding")
textarea(ng-model="commentState.content") textarea(ng-model="commentState.content")
a.btn.btn-sm.btn-primary(href, ng-click="submitNewComment()") Submit a.btn.btn-sm.btn-primary(href, ng-click="submitNewComment()") Submit
a(href, ng-click="cancelNewComment()") X a(href, ng-click="cancelNewComment()") X
.ui-layout-east .ui-layout-east
div(ng-if="ui.pdfLayout == 'sideBySide'") div(ng-if="ui.pdfLayout == 'sideBySide'")