##// END OF EJS Templates
reviewers: small ui fixes for display of review rules, and added new reviewer entries.
milka -
r4589:8da3a1fa stable
parent child Browse files
Show More
@@ -65,7 +65,9 b" var data_hovercard_url = pyroutes.url('h"
65
65
66 <tr id="reviewer_<%= member.user_id %>" class="reviewer_entry" tooltip="Review Group" data-reviewer-user-id="<%= member.user_id %>">
66 <tr id="reviewer_<%= member.user_id %>" class="reviewer_entry" tooltip="Review Group" data-reviewer-user-id="<%= member.user_id %>">
67
67
68 <% if (!create) { %>
68 <% if (create) { %>
69 <td></td>
70 <% } else { %>
69 <td style="width: 20px">
71 <td style="width: 20px">
70 <div class="tooltip presence-state" style="display: none; position: absolute; left: 2px" title="This users is currently at this page">
72 <div class="tooltip presence-state" style="display: none; position: absolute; left: 2px" title="This users is currently at this page">
71 <i class="icon-eye" style="color: #0ac878"></i>
73 <i class="icon-eye" style="color: #0ac878"></i>
@@ -82,6 +84,7 b" var data_hovercard_url = pyroutes.url('h"
82 </td>
84 </td>
83 <% } %>
85 <% } %>
84
86
87
85 <% if (mandatory) { %>
88 <% if (mandatory) { %>
86 <td style="text-align: right;width: 10px;">
89 <td style="text-align: right;width: 10px;">
87 <div class="reviewer_member_mandatory tooltip" title="Mandatory reviewer">
90 <div class="reviewer_member_mandatory tooltip" title="Mandatory reviewer">
@@ -598,20 +598,6 b''
598 ${c.reviewers_count}
598 ${c.reviewers_count}
599 </div>
599 </div>
600
600
601 ## REVIEW RULES
602 <div id="review_rules" style="display: none" class="">
603 <div class="right-sidebar-expanded-state pr-details-title">
604 <span class="sidebar-heading">
605 ${_('Reviewer rules')}
606 </span>
607
608 </div>
609 <div class="pr-reviewer-rules">
610 ## review rules will be appended here, by default reviewers logic
611 </div>
612 <input id="review_data" type="hidden" name="review_data" value="">
613 </div>
614
615 ## REVIEWERS
601 ## REVIEWERS
616 <div class="right-sidebar-expanded-state pr-details-title">
602 <div class="right-sidebar-expanded-state pr-details-title">
617 <span class="tooltip sidebar-heading" title="${vote_title}">
603 <span class="tooltip sidebar-heading" title="${vote_title}">
@@ -629,6 +615,15 b''
629
615
630 <div id="reviewers" class="right-sidebar-expanded-state pr-details-content reviewers">
616 <div id="reviewers" class="right-sidebar-expanded-state pr-details-content reviewers">
631
617
618 <div id="review_rules" style="display: none" class="">
619
620 <strong>${_('Reviewer rules')}</strong>
621 <div class="pr-reviewer-rules">
622 ## review rules will be appended here, by default reviewers logic
623 </div>
624 <input id="review_data" type="hidden" name="review_data" value="">
625 </div>
626
632 ## members redering block
627 ## members redering block
633 <input type="hidden" name="__start__" value="review_members:sequence">
628 <input type="hidden" name="__start__" value="review_members:sequence">
634
629
General Comments 0
You need to be logged in to leave comments. Login now