mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
CombinedSearch: Respect 'open in new window' preference.
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
thing.permalink,
|
||||
sr_path=False,
|
||||
cname=False,
|
||||
_class='search-title',
|
||||
_class='search-title may-blank',
|
||||
)}
|
||||
%if c.site.link_flair_position == 'right':
|
||||
${self.flair()}
|
||||
@@ -79,7 +79,7 @@
|
||||
'/r/%s' % thing.subreddit.name,
|
||||
sr_path=False,
|
||||
cname=False,
|
||||
_class='search-subreddit-link',
|
||||
_class='search-subreddit-link may-blank',
|
||||
)} 
|
||||
<span class="search-score">${thing.score} points,</span> 
|
||||
%if thing.num_comments:
|
||||
@@ -107,7 +107,7 @@
|
||||
thing.url,
|
||||
_sr_path=False,
|
||||
nocname=True,
|
||||
_class='search-link',
|
||||
_class='search-link may-blank',
|
||||
)}
|
||||
</%parent:search_result_footer>
|
||||
%endif
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
thing.search_path,
|
||||
sr_path=False,
|
||||
cname=False,
|
||||
_class='search-title',
|
||||
_class='search-title may-blank',
|
||||
)}
|
||||
</%parent:search_result_header>
|
||||
</%def>
|
||||
@@ -58,7 +58,7 @@
|
||||
thing.search_path,
|
||||
sr_path=False,
|
||||
cname=False,
|
||||
_class='search-subreddit-link',
|
||||
_class='search-subreddit-link may-blank',
|
||||
)} 
|
||||
<span class="search-subscribers">${_("%(subscribers)s subscribers") % dict(subscribers=thing._ups)},</span> 
|
||||
<span class="search-time">${_("a community for %(time)s") % dict(time=timesince(thing._date))}</span> 
|
||||
|
||||
Reference in New Issue
Block a user