Skip to content

Commit

Permalink
Limited Markdown output in post preview.
Browse files Browse the repository at this point in the history
  • Loading branch information
kabukky committed Mar 15, 2015
1 parent a79c107 commit 5b44dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion built-in/admin/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h4>{{$index + 1}}.</h4>
</td>
<td class="post-cell" ng-click="openPost(post.Id)">
<h4>{{post.Title}} <small class="text-success" ng-if="post.IsPublished">Published</small><small class="text-warning" ng-if="!post.IsPublished">Draft</small></h4>
<p>{{post.Markdown}}</p>
<p>{{post.Markdown | limitTo: 400}}{{post.Markdown.length > 400 ? '...' : ''}}</p>
</td>
<td class="post-remove-cell">
<a class="text-danger" id="post-cover-delete" ng-click="deletePost(post.Id, post.Title)"><h5><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Delete</h5></a>
Expand Down

0 comments on commit 5b44dbb

Please sign in to comment.