summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
49662df)
@decorators.render('questions.html', 'unanswered')
def unanswered(request):
return question_list(request, Question.objects.filter(extra_ref=None),
@decorators.render('questions.html', 'unanswered')
def unanswered(request):
return question_list(request, Question.objects.filter(extra_ref=None),
- _('Open questions without an accepted answer'),
- 'active', None, _("Unanswered questions"))
+ list_description=_('Open questions without an accepted answer'),
+ page_title=_("Unanswered questions"))
@decorators.render('questions.html', 'questions')
def questions(request):
@decorators.render('questions.html', 'questions')
def questions(request):
- return question_list(request, Question.objects.all(), _('questions'), 'active')
+ return question_list(request, Question.objects.all(), _('questions'))
@decorators.render('questions.html')
def tag(request, tag):
return question_list(request, Question.objects.filter(tags__name=unquote(tag)),
@decorators.render('questions.html')
def tag(request, tag):
return question_list(request, Question.objects.filter(tags__name=unquote(tag)),
- mark_safe(_('Questions tagged <span class="tag">%(tag)s</span>') % {'tag': tag}),
- 'active',
- None,
- mark_safe(_('Questions tagged %(tag)s') % {'tag': tag}),
- False)
+ list_description=mark_safe(_('Questions tagged <span class="tag">%(tag)s</span>') % {'tag': tag}),
+ page_title=mark_safe(_('Questions tagged %(tag)s') % {'tag': tag}),
+ allowIgnoreTags=False)
@decorators.list('questions', QUESTIONS_PAGE_SIZE)
def question_list(request, initial, list_description=_('questions'), sort=None, base_path=None, page_title=None, allowIgnoreTags=True):
@decorators.list('questions', QUESTIONS_PAGE_SIZE)
def question_list(request, initial, list_description=_('questions'), sort=None, base_path=None, page_title=None, allowIgnoreTags=True):