Commit 28c412de authored by Michal Čihař's avatar Michal Čihař

Remove no longer used variables

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 9a983a0a
...@@ -38,11 +38,7 @@ ...@@ -38,11 +38,7 @@
{% endif %} {% endif %}
{% empty %} {% empty %}
<tr><td colspan="4" class="tablenotice"> <tr><td colspan="4" class="tablenotice">
{% if not hide_browse %}
{% trans "No recent activity has been recorded." %}
{% else %}
{% trans "No matching activity has been found." %} {% trans "No matching activity has been found." %}
{% endif %}
</td></tr> </td></tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
......
...@@ -66,9 +66,6 @@ def show_language(request, lang): ...@@ -66,9 +66,6 @@ def show_language(request, lang):
{ {
'object': obj, 'object': obj,
'last_changes': last_changes, 'last_changes': last_changes,
'last_changes_rss': reverse(
'rss-language', kwargs={'lang': obj.code}
),
'last_changes_url': urlencode({'lang': obj.code}), 'last_changes_url': urlencode({'lang': obj.code}),
'dicts': projects.filter(id__in=dicts), 'dicts': projects.filter(id__in=dicts),
'translations': translations, 'translations': translations,
......
...@@ -95,7 +95,6 @@ def home(request): ...@@ -95,7 +95,6 @@ def home(request):
'top_translations': top_translations.select_related('user'), 'top_translations': top_translations.select_related('user'),
'top_suggestions': top_suggestions.select_related('user'), 'top_suggestions': top_suggestions.select_related('user'),
'last_changes': last_changes, 'last_changes': last_changes,
'last_changes_rss': reverse('rss'),
'last_changes_url': '', 'last_changes_url': '',
'search_form': SearchForm(), 'search_form': SearchForm(),
'whiteboard_messages': wb_messages, 'whiteboard_messages': wb_messages,
...@@ -239,10 +238,6 @@ def show_project(request, project): ...@@ -239,10 +238,6 @@ def show_project(request, project):
'project': obj, 'project': obj,
'dicts': dicts, 'dicts': dicts,
'last_changes': last_changes, 'last_changes': last_changes,
'last_changes_rss': reverse(
'rss-project',
kwargs={'project': obj.slug}
),
'last_changes_url': urlencode( 'last_changes_url': urlencode(
{'project': obj.slug} {'project': obj.slug}
), ),
...@@ -269,10 +264,6 @@ def show_subproject(request, project, subproject): ...@@ -269,10 +264,6 @@ def show_subproject(request, project, subproject):
'translations': obj.translation_set.enabled(), 'translations': obj.translation_set.enabled(),
'show_language': 1, 'show_language': 1,
'last_changes': last_changes, 'last_changes': last_changes,
'last_changes_rss': reverse(
'rss-subproject',
kwargs={'subproject': obj.slug, 'project': obj.project.slug}
),
'last_changes_url': urlencode( 'last_changes_url': urlencode(
{'subproject': obj.slug, 'project': obj.project.slug} {'subproject': obj.slug, 'project': obj.project.slug}
), ),
...@@ -324,10 +315,6 @@ def show_translation(request, project, subproject, lang): ...@@ -324,10 +315,6 @@ def show_translation(request, project, subproject, lang):
'review_form': review_form, 'review_form': review_form,
'last_changes': last_changes, 'last_changes': last_changes,
'last_changes_url': urlencode(obj.get_kwargs()), 'last_changes_url': urlencode(obj.get_kwargs()),
'last_changes_rss': reverse(
'rss-translation',
kwargs=obj.get_kwargs(),
),
'show_only_component': True, 'show_only_component': True,
'other_translations': Translation.objects.filter( 'other_translations': Translation.objects.filter(
subproject__project=obj.subproject.project, subproject__project=obj.subproject.project,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment