summaryrefslogtreecommitdiff
path: root/app/views/agents/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/agents/index.html.erb')
-rw-r--r--app/views/agents/index.html.erb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/agents/index.html.erb b/app/views/agents/index.html.erb
index 3a6b738..75adfdb 100644
--- a/app/views/agents/index.html.erb
+++ b/app/views/agents/index.html.erb
@@ -9,15 +9,16 @@
<thead>
<tr>
<th>Hostname</th>
- <th colspan="4"></th>
+ <th>Created At</th>
+ <th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @agents.each do |agent| %>
<tr>
- <td><%= agent.hostname %></td>
+ <td><%= link_to agent.hostname, agent_path(agent) %></td>
+ <td><%= agent.created_at %></td>
<td><%= link_to 'Events', agent_events_path(agent) %></td>
- <td><%= link_to 'Show', agent %></td>
<td><%= link_to 'Edit', edit_agent_path(agent) %></td>
<td><%= link_to 'Destroy', agent, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>