We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3f4d5 commit 7feab24Copy full SHA for 7feab24
app/views/jobs/index.html.erb
@@ -32,7 +32,7 @@
32
<td><%= status(job) %></td>
33
<td><% case agent = agent_from_job(job)
34
when Agent
35
- %><%= link_to(agent.name, agent_path(agent)) %><%
+ %><% if current_user.id == agent.user_id %><%= link_to(agent.name, agent_path(agent)) %><% else %><%= agent.name %><% end %><%
36
when String
37
%><%= agent %><%
38
when false
@@ -90,4 +90,3 @@
90
</div>
91
92
93
-
0 commit comments