Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of http://github.com/grandfatha/play-paste into…

… grandfatha-master
  • Loading branch information...
commit 8a41a3ed9ad86ef028ce5dab17869b567156086c 2 parents c9867b2 + 280b759
@benburton authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/views/ViewPaste/index.html
View
6 app/views/ViewPaste/index.html
@@ -2,13 +2,13 @@
#{set title:'Home' /}
<table id="metadata">
- #{if paste.title != null && paste.title.length() != 0}
+ #{if paste.title}
<tr><td width="90px"><span class="bold">Title:</span></td><td>${paste.title}</td></tr>
#{/if}
- #{if paste.author != null && paste.author.length() != 0}
+ #{if paste.author}
<tr><td width="90px"><span class="bold">Author:</span></td><td>${paste.author}</td></tr>
#{/if}
- #{if paste.contentType != null && paste.contentType.length() != 0}
+ #{if paste.contentType}
<tr><td width="90px"><span class="bold">Content Type:</span></td><td>${paste.contentType}</td></tr>
#{/if}
<tr><td width="90px"><span class="bold">Created:</span></td><td>${paste.createdOn.since()}</td></tr>
Please sign in to comment.
Something went wrong with that request. Please try again.