Skip to content

Commit

Permalink
Add some comments so we don't get confused on this again.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuxax committed Jan 16, 2012
1 parent bcd80b8 commit 1233213
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions raggregate/templates/base/story_item.mak
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ vote_dict = pageargs['vote_dict']
<div class="story-links">
% if s.self_post == True:
<span class="title"><a href="${request.route_url('full', sub_id=template_filters.get_submission_identifier_for_url(s))}">${s.title}</a></span> <span class="domain">(self)</span> <br />
## on the story list page, take users to the comments section instead of the direct url.
## this template is used on other pages to take users directly to the URL, so we have to special case.
% elif request.route_url('post') in request.url or request.route_url('home') == request.url:
<span class="title"><a href="${request.route_url('full', sub_id=template_filters.get_submission_identifier_for_url(s))}">${s.title}</a></span> <span class="domain">(${s.get_domain_name()})</span> <br />
% else:
Expand Down

0 comments on commit 1233213

Please sign in to comment.