Просмотр исходного кода

Positive action buttons on the right.

Paulo Reis 10 лет назад
Родитель
Сommit
db5dc6ef15
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      services/web/app/views/project/editor/editor.jade

+ 6 - 6
services/web/app/views/project/editor/editor.jade

@@ -92,12 +92,12 @@ div.full-size(
 										span(ng-switch-when="delete") Delete 
 										span(ng-switch-when="delete") Delete 
 											del.rp-content-highlight {{ entry.content }} 
 											del.rp-content-highlight {{ entry.content }} 
 								.rp-entry-actions
 								.rp-entry-actions
-									a.rp-entry-button(href, ng-click="acceptChange(entry_id)") 
-										i.fa.fa-check
-										|  Accept
 									a.rp-entry-button(href, ng-click="rejectChange(entry_id)") 
 									a.rp-entry-button(href, ng-click="rejectChange(entry_id)") 
 										i.fa.fa-times
 										i.fa.fa-times
 										|  Reject
 										|  Reject
+									a.rp-entry-button(href, ng-click="acceptChange(entry_id)") 
+										i.fa.fa-check
+										|  Accept
 							div(ng-if="entry.type == 'comment'")
 							div(ng-if="entry.type == 'comment'")
 								.rp-comment(
 								.rp-comment(
 									ng-repeat="comment in entry.thread"
 									ng-repeat="comment in entry.thread"
@@ -139,12 +139,12 @@ div.full-size(
 											placeholder="Add your comment here"
 											placeholder="Add your comment here"
 										)
 										)
 									.rp-entry-actions
 									.rp-entry-actions
-										a.rp-entry-button(href, ng-click="submitNewComment()") 
-											i.fa.fa-comment
-											|  Comment
 										a.rp-entry-button(href, ng-click="cancelNewComment()") 
 										a.rp-entry-button(href, ng-click="cancelNewComment()") 
 											i.fa.fa-times
 											i.fa.fa-times
 											|  Cancel
 											|  Cancel
+										a.rp-entry-button(href, ng-click="submitNewComment()") 
+											i.fa.fa-comment
+											|  Comment
 
 
 	.ui-layout-east
 	.ui-layout-east
 		div(ng-if="ui.pdfLayout == 'sideBySide'")
 		div(ng-if="ui.pdfLayout == 'sideBySide'")