Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from henryoswald/patch-1

changed the web gui to render objects values
  • Loading branch information...
commit 248bd80a9c1778bc2789dcca2c1360379fb1fdbd 2 parents 1061dd7 + 623bc20
@baoshan authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/web/fairy.html
View
8 src/web/fairy.html
@@ -99,7 +99,7 @@
<tr>
<td><%= item.id.substring(0,8) %></td>
<%_.each(item.params, function(value){ %>
- <td> <%= value %> </td>
+ <td> <%= JSON.stringify(value, null, " ") %> </td>
<% })%>
<td> <%= moment.duration((new Date).valueOf()-(new Date(item.queued)).valueOf()).humanize()%></td>
<td> <%= moment.duration((new Date).valueOf()-(new Date(item.finished)).valueOf()).humanize()%></td>
@@ -126,7 +126,7 @@
<tr>
<td><%= item.id.substring(0,8) %></td>
<%_.each(item.params, function(value){ %>
- <td> <%= value %> </td>
+ <td> <%= JSON.stringify(value, null, " ") %> </td>
<% })%>
<td> <%= moment.duration((new Date).valueOf()-(new Date(item.queued)).valueOf()).humanize()%></td>
<td> <%= moment.duration((new Date).valueOf()-(new Date(item.failed)).valueOf()).humanize()%></td>
@@ -171,7 +171,7 @@
<tr>
<td><%= item.id.substring(0,8) %></td>
<%_.each( item.params, function(value){ %>
- <td> <%= value %> </td>
+ <td> <%= JSON.stringify(value, null, " ") %> </td>
<% })%>
<td> <%= moment.duration((new Date).valueOf()-(new Date(item.queued)).valueOf()).humanize()%></td>
<td> <%= moment.duration((new Date).valueOf()-(new Date(item.started)).valueOf()).humanize()%></td>
@@ -197,7 +197,7 @@
<tr>
<td><%= item.id.substring(0,8) %></td>
<%_.each( item.params, function(value){ %>
- <td> <%= value %> </td>
+ <td> <%= JSON.stringify(value, null, " ") %> </td>
<% })%>
<td> <%= moment.duration((new Date).valueOf()-(new Date(item.queued)).valueOf()).humanize()%></td>
<td> <%= moment.duration((new Date).valueOf()-(new Date(item.started)).valueOf()).humanize()%></td>
Please sign in to comment.
Something went wrong with that request. Please try again.