Skip to content

Commit

Permalink
Only display descriptions when they contain something
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuxax committed Mar 5, 2012
1 parent 8f85722 commit a34e8f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions raggregate/templates/base/full.mak
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@
<%include file="story_item.mak", args="story_obj = story, vote_dict = story_vote_dict"/>
<i><b>click the title above to proceed to posted article; scroll down for commentary</b></i><br />
<br />
% if story.description != u'':
<div id="description" class="story-description">
${story.description | template_filters.render_md,n}
</div>
% endif
##@TODO: make functionality to determine whether a user is logged in on display a reusable function
## I have vague memories of this but think it's on the server side, need to create a def that can
## be used in the Mako templates to determine this, would be much better that way.
Expand Down

0 comments on commit a34e8f7

Please sign in to comment.