Add booth location on booth assigment management list, plus poll links on list
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<td>
|
||||
<%= link_to booth.name, admin_booth_path(booth) %>
|
||||
</td>
|
||||
<td>
|
||||
<%= booth.location || t("admin.booths.index.no_location") %>
|
||||
</td>
|
||||
<% if booth_assignment.present? %>
|
||||
<td>
|
||||
<span class="verified"><%= t("admin.booth_assignments.manage.status.assigned") %></span>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<%= render "/admin/poll/polls/poll_header" %>
|
||||
|
||||
|
||||
<div id="poll-resources">
|
||||
<%= render "/admin/poll/polls/subnav" %>
|
||||
<%= render "search_booths" %>
|
||||
@@ -30,7 +29,7 @@
|
||||
</strong>
|
||||
</td>
|
||||
<td>
|
||||
<%= booth_assignment.booth.location %>
|
||||
<%= booth_assignment.booth.location || t("admin.booths.index.no_location") %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<table>
|
||||
<thead>
|
||||
<th><%= t("admin.booths.index.name") %></th>
|
||||
<th><%= t("admin.booths.index.location") %></th>
|
||||
<th><%= t("admin.booth_assignments.manage.status.assign_status") %></th>
|
||||
<th class="text-right"><%= t("admin.actions.actions") %></th>
|
||||
</thead>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<% @polls.each do |poll| %>
|
||||
<tr id="<%= dom_id(poll) %>" class="poll">
|
||||
<td>
|
||||
<strong><%= poll.name %></strong>
|
||||
<strong><%= link_to poll.name, admin_poll_path(poll) %></strong>
|
||||
</td>
|
||||
<td>
|
||||
<%= l poll.starts_at.to_date %> - <%= l poll.ends_at.to_date %>
|
||||
|
||||
Reference in New Issue
Block a user