Use optional parameter to set column class
- Fixes the extremely long class name on the post versions view - Can now use one value instead of having to set th and td - Added missing column classes on all tables
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<% t.column "Run at" do |job| %>
|
||||
<%= time_ago_in_words_tagged(job.run_at) %>
|
||||
<% end %>
|
||||
<% t.column do |job| %>
|
||||
<% t.column column: "control" do |job| %>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<% if job.locked_at? %>
|
||||
Running
|
||||
|
||||
Reference in New Issue
Block a user