Skip to content

Commit

Permalink
merged with 0.9.x branch
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyfadeev committed Dec 27, 2016
2 parents f47a624 + f3a9bee commit e75c96f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions askbot/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ class RssIndividualQuestionFeed(Feed):
"""

def title(self):
return askbot_settings.APP_TITLE + _(' - ') + \
_('Individual %(question)s feed') % {
'question': askbot_settings.WORDS_QUESTION_SINGULAR
}
return askbot_settings.APP_TITLE + _(' - ') + _('RSS feed')

def feed_copyright(self):
return askbot_settings.APP_COPYRIGHT
Expand Down Expand Up @@ -122,9 +119,7 @@ class RssLastestQuestionsFeed(Feed):
"""

def title(self):
return askbot_settings.APP_TITLE + _(' - ') + \
_('Latest %(question)s feed') % {
'question': askbot_settings.WORDS_QUESTION_SINGULAR}
return askbot_settings.APP_TITLE + _(' - ') + _('RSS feed')

def feed_copyright(self):
return askbot_settings.APP_COPYRIGHT
Expand Down
1 change: 0 additions & 1 deletion askbot/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link
rel="alternate"
type="application/rss+xml"
title="{% trans site_title=settings.APP_SHORT_NAME %}RSS feed from {{ site_title }}{% endtrans %}"
href="{{ base_url }}{% url "latest_questions_feed" %}"
/>
{% block before_css %}{% endblock %}
Expand Down

0 comments on commit e75c96f

Please sign in to comment.