Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F478408
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jun 7, 7:30 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Mon, Jun 9, 7:30 PM (1 d, 14 h)
Engine
blob
Format
Raw Data
Handle
226066
Attached To
rARCHIVING archiving
View Options
diff --git a/app/views/jobs/show.html.erb b/app/views/jobs/show.html.erb
index 6560d76..0719508 100644
--- a/app/views/jobs/show.html.erb
+++ b/app/views/jobs/show.html.erb
@@ -1,25 +1,31 @@
-<div class="right">
- <%= link_to 'Edit', edit_host_job_path(@host, @job),
- class: "btn btn-primary", role: "button" %>
- <%= link_to 'Delete', host_job_path(@host, @job),
- method: :delete, data: { confirm: 'This will delete the job' },
- class: "btn btn-danger", role: "button" %>
-</div>
-
<div class="row">
<div class="col-xs-6">
<div class="panel panel-default">
<div class="panel-heading">
<h1>"<%= @job.name %>" Job Template</h1>
</div>
<div class="row">
<%= render partial: 'job_details' %>
</div>
</div>
<div class="col-xs-2 col-xs-offset-4 right">
<%= link_to 'Back to host', host_path(@host),
class: "btn btn-success", role: "button" %>
</div>
+ <div class="col-xs-1">
+ <%= link_to edit_host_job_path(@host, @job), class: "btn btn-default", role: "button" do %>
+ <label class="glyphicon glyphicon-edit text-primary"></label>
+ Edit
+ <% end %>
+ </div>
+ <div class="col-xs-1">
+ <%= link_to host_job_path(@host, @job),
+ method: :delete, data: { confirm: 'This will delete the job' },
+ class: "btn btn-default", role: "button" do %>
+ <label class="glyphicon glyphicon-ban-circle text-danger"></label>
+ Delete
+ <% end %>
+ </div>
</div>
</div>
Event Timeline
Log In to Comment