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 @@
{% endif %}
{% empty %}
<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." %}
{% endif %}
</td></tr>
{% endfor %}
</tbody>
......
......@@ -66,9 +66,6 @@ def show_language(request, lang):
{
'object': obj,
'last_changes': last_changes,
'last_changes_rss': reverse(
'rss-language', kwargs={'lang': obj.code}
),
'last_changes_url': urlencode({'lang': obj.code}),
'dicts': projects.filter(id__in=dicts),
'translations': translations,
......
......@@ -95,7 +95,6 @@ def home(request):
'top_translations': top_translations.select_related('user'),
'top_suggestions': top_suggestions.select_related('user'),
'last_changes': last_changes,
'last_changes_rss': reverse('rss'),
'last_changes_url': '',
'search_form': SearchForm(),
'whiteboard_messages': wb_messages,
......@@ -239,10 +238,6 @@ def show_project(request, project):
'project': obj,
'dicts': dicts,
'last_changes': last_changes,
'last_changes_rss': reverse(
'rss-project',
kwargs={'project': obj.slug}
),
'last_changes_url': urlencode(
{'project': obj.slug}
),
......@@ -269,10 +264,6 @@ def show_subproject(request, project, subproject):
'translations': obj.translation_set.enabled(),
'show_language': 1,
'last_changes': last_changes,
'last_changes_rss': reverse(
'rss-subproject',
kwargs={'subproject': obj.slug, 'project': obj.project.slug}
),
'last_changes_url': urlencode(
{'subproject': obj.slug, 'project': obj.project.slug}
),
......@@ -324,10 +315,6 @@ def show_translation(request, project, subproject, lang):
'review_form': review_form,
'last_changes': last_changes,
'last_changes_url': urlencode(obj.get_kwargs()),
'last_changes_rss': reverse(
'rss-translation',
kwargs=obj.get_kwargs(),
),
'show_only_component': True,
'other_translations': Translation.objects.filter(
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