8000 Not everyone uses multilingual URLs. · django-cms/django-cms@ca28ade · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit ca28ade

Browse files
committed
Not everyone uses multilingual URLs.
1 parent dce435c commit ca28ade

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cms/templates/cms/welcome.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,7 @@ <h2 class="cms-hidden">{% trans "Installation Notes" %}</h2>
9898
}
9999
});
100100
{% else %}
101-
{% if LANGUAGE_CODE %}
102-
window.location.href = '{% url "admin:login" %}?next=/{{ LANGUAGE_CODE }}/?{{ cms_edit_on }}';
103-
{% else %}
104-
window.location.href = '{% url "admin:login" %}?next=/?{{ cms_edit_on }}';
105-
{% endif %}
101+
window.location.href = '{% url "admin:login" %}?next=/?{{ cms_edit_on }}';
106102
{% endif %}
107103
</script>
108104
{% endlanguage %}

0 commit comments

Comments
 (0)
0