Show More
@@ -65,6 +65,7 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 | <td style="width: 20px"> |
|
69 | <td style="width: 20px"> | |
69 | <div class="tooltip presence-state" style="display: none; position: absolute; left: 2px" title="This users is currently at this page"> |
|
70 | <div class="tooltip presence-state" style="display: none; position: absolute; left: 2px" title="This users is currently at this page"> | |
70 | <i class="icon-eye" style="color: #0ac878"></i> |
|
71 | <i class="icon-eye" style="color: #0ac878"></i> | |
@@ -79,6 +80,24 b" var data_hovercard_url = pyroutes.url('h" | |||||
79 | </div> |
|
80 | </div> | |
80 | <% } %> |
|
81 | <% } %> | |
81 | </td> |
|
82 | </td> | |
|
83 | <% } %> | |||
|
84 | ||||
|
85 | <% if (mandatory) { %> | |||
|
86 | <td style="text-align: right;width: 10px;"> | |||
|
87 | <div class="reviewer_member_mandatory tooltip" title="Mandatory reviewer"> | |||
|
88 | <i class="icon-lock"></i> | |||
|
89 | </div> | |||
|
90 | </td> | |||
|
91 | ||||
|
92 | <% } else { %> | |||
|
93 | <td style="text-align: right;width: 10px;"> | |||
|
94 | <% if (allowed_to_update) { %> | |||
|
95 | <div class="<%=role %>_member_remove" onclick="reviewersController.removeMember(<%= member.user_id %>, true)" style="visibility: <%= edit_visibility %>;"> | |||
|
96 | <i class="icon-remove" style="color: #e85e4d;"></i> | |||
|
97 | </div> | |||
|
98 | <% } %> | |||
|
99 | </td> | |||
|
100 | <% } %> | |||
82 |
|
|
101 | ||
83 | <td> |
|
102 | <td> | |
84 | <div id="reviewer_<%= member.user_id %>_name" class="reviewer_name"> |
|
103 | <div id="reviewer_<%= member.user_id %>_name" class="reviewer_name"> | |
@@ -94,9 +113,6 b" var data_hovercard_url = pyroutes.url('h" | |||||
94 | }) |
|
113 | }) | |
95 | %> |
|
114 | %> | |
96 | </div> |
|
115 | </div> | |
97 | </td> |
|
|||
98 |
|
||||
99 | <td style="width: 10px"> |
|
|||
100 | <% if (reviewGroup !== null) { %> |
|
116 | <% if (reviewGroup !== null) { %> | |
101 | <span class="tooltip" title="Member of review group from rule: `<%= member.user_group.name %>`" style="color: <%= reviewGroupColor %>"> |
|
117 | <span class="tooltip" title="Member of review group from rule: `<%= member.user_group.name %>`" style="color: <%= reviewGroupColor %>"> | |
102 | <%- reviewGroup %> |
|
118 | <%- reviewGroup %> | |
@@ -104,23 +120,6 b" var data_hovercard_url = pyroutes.url('h" | |||||
104 | <% } %> |
|
120 | <% } %> | |
105 | </td> |
|
121 | </td> | |
106 |
|
122 | |||
107 | <% if (mandatory) { %> |
|
|||
108 | <td style="text-align: right;width: 10px;"> |
|
|||
109 | <div class="reviewer_member_mandatory tooltip" title="Mandatory reviewer"> |
|
|||
110 | <i class="icon-lock"></i> |
|
|||
111 | </div> |
|
|||
112 | </td> |
|
|||
113 |
|
||||
114 | <% } else { %> |
|
|||
115 | <td style="text-align: right;width: 10px;"> |
|
|||
116 | <% if (allowed_to_update) { %> |
|
|||
117 | <div class="<%=role %>_member_remove" onclick="reviewersController.removeMember(<%= member.user_id %>, true)" style="visibility: <%= edit_visibility %>;"> |
|
|||
118 | <i class="icon-remove"></i> |
|
|||
119 | </div> |
|
|||
120 | <% } %> |
|
|||
121 | </td> |
|
|||
122 | <% } %> |
|
|||
123 |
|
||||
124 | </tr> |
|
123 | </tr> | |
125 |
|
124 | |||
126 | <tr id="reviewer_<%= member.user_id %>_rules"> |
|
125 | <tr id="reviewer_<%= member.user_id %>_rules"> |
General Comments 0
You need to be logged in to leave comments.
Login now