Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Forgot to include the fixes for the handlebars/mustache realtime code…

… in 7609a49
  • Loading branch information...
commit 459a2f704b971c4223e5647824ea25859bc169c9 1 parent 89831d2
@larzconwell larzconwell authored
View
2  templates/scaffold/realtime/views/handlebars/index.html.hbs.ejs
@@ -13,7 +13,7 @@ $(function () {
var template = [ ''
, '<div class="row list-item" id="<%= names.property.singular %>-' + <%= names.property.singular %>.id + '">'
, ' <div class="span8">'
- , ' <h3><a href="/<%= names.property.plural %>/' + <%= names.property.singular %>.id + '">' + <%= names.property.singular %>.<%= properties['default'].name %> + '</a></h3>'
+ , ' <h3><a href="/<%= names.property.plural %>/' + <%= names.property.singular %>.id + '">' + <%= names.property.singular %>.<%= properties['default'].name || "id" %> + '</a></h3>'
, ' </div>'
, ' <div class="span4">'
, ' <h3><i class="icon-list-alt"></i>' + <%= names.property.singular %>.id + '</h3>'
View
2  templates/scaffold/realtime/views/mustache/index.html.ms.ejs
@@ -13,7 +13,7 @@ $(function () {
var template = [ ''
, '<div class="row list-item" id="<%= names.property.singular %>-' + <%= names.property.singular %>.id + '">'
, ' <div class="span8">'
- , ' <h3><a href="/<%= names.property.plural %>/' + <%= names.property.singular %>.id + '">' + <%= names.property.singular %>.<%= properties['default'].name %> + '</a></h3>'
+ , ' <h3><a href="/<%= names.property.plural %>/' + <%= names.property.singular %>.id + '">' + <%= names.property.singular %>.<%= properties['default'].name || "id" %> + '</a></h3>'
, ' </div>'
, ' <div class="span4">'
, ' <h3><i class="icon-list-alt"></i>' + <%= names.property.singular %>.id + '</h3>'
Please sign in to comment.
Something went wrong with that request. Please try again.