Skip to content

Commit

Permalink
[Scaffolding] Fixed a styling bug for the CRUD controller views.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack12816 committed Sep 11, 2013
1 parent d901c32 commit 77d7815
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/greppy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

var fs = require('fs');
var cluster = require('cluster');
var colors = require('colors');

/**
* @constructor
Expand Down
1 change: 0 additions & 1 deletion lib/helper/ldap/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ ldapClientHelper.prototype.search = function(base, options, callback)
*/
ldapClientHelper.prototype.resultsToJSON = function(results)
{

var stripped = [];

results.forEach(function(result) {
Expand Down
6 changes: 3 additions & 3 deletions templates/scaffolds/mvc/view/show.jade
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ block content

{{#attributes}}
tr
th {{{humanized}}}
th.min {{{humanized}}}
td #{ {{{entity}}}.{{{name}}} }

{{/attributes}}
tr
th Created at
th.min Created at
td #{helper.date.format({{{name}}}.created_at, 'LLLL')}

{{#softDeletion}}
tr(class="#{ {{{name}}}.deleted_at ? 'danger' : 'success' }")
th Deleted
th.min Deleted
td #{ {{{name}}}.deleted_at ? ('at ' + helper.date.format({{{name}}}.deleted_at, 'LLLL')) : 'No' }
{{/softDeletion}}

Expand Down

0 comments on commit 77d7815

Please sign in to comment.