add approver field to aliases/implications
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Creator</th>
|
||||
<th>Approver</th>
|
||||
<th>Forum</th>
|
||||
<th>Script</th>
|
||||
<th>Status</th>
|
||||
@@ -12,6 +13,7 @@
|
||||
<% bulk_update_requests.each do |request| %>
|
||||
<tr id="request-<%= request.id %>">
|
||||
<td><%= link_to_user(request.user) %></td>
|
||||
<td><% if request.approver %><%= link_to_user(request.approver) %><% end %></td>
|
||||
<td><%= link_to(request.forum_topic_id, forum_topic_path(request.forum_topic_id)) %></td>
|
||||
<td><%= script_with_line_breaks(request.script) %></td>
|
||||
<td id="request-status-for-<%= request.id %>"><%= request.status %></td>
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<table width="100%" class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30%">From</th>
|
||||
<th width="30%">To</th>
|
||||
<th width="25%">From</th>
|
||||
<th width="25%">To</th>
|
||||
<th width="10%">Reference</th>
|
||||
<th width="10%">Status</th>
|
||||
<th width="20%"></th>
|
||||
<th width="15%">Approver</th>
|
||||
<th width="5%">Status</th>
|
||||
<th width="15%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -18,6 +19,7 @@
|
||||
<%= link_to tag_alias.forum_topic_id, forum_topic_path(tag_alias.forum_topic_id) %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td><%= link_to_user(tag_alias.approver) if tag_alias.approver %></td>
|
||||
<td id="tag-alias-status-for-<%= tag_alias.id %>">
|
||||
<%= tag_alias.status %>
|
||||
</td>
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
<table width="100%" class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30%">From</th>
|
||||
<th width="30%">To</th>
|
||||
<th width="25%">From</th>
|
||||
<th width="25%">To</th>
|
||||
<th width="10%">Reference</th>
|
||||
<th width="10%">Status</th>
|
||||
<th width="15%">Approver</th>
|
||||
<th width="5%">Status</th>
|
||||
<th width="15%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -18,6 +19,7 @@
|
||||
<%= link_to tag_implication.forum_topic_id, forum_topic_path(tag_implication.forum_topic_id) %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td><%= link_to_user(tag_implication.approver) if tag_implication.approver %></td>
|
||||
<td id="tag-implication-status-for-<%= tag_implication.id %>"><%= tag_implication.status %></td>
|
||||
<td>
|
||||
<%= link_to "Show", tag_implication_path(tag_implication) %>
|
||||
|
||||
Reference in New Issue
Block a user