Compare commits
2 Commits
cb15789b95
...
1b197b2e12
Author | SHA1 | Date | |
---|---|---|---|
1b197b2e12 | |||
092378b24a |
@ -12,7 +12,7 @@ msgstr ""
|
|||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: Commander1024 <commander@commander1024.de>\n"
|
"Last-Translator: Commander1024 <commander@commander1024.de>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"Language: de.DE\n"
|
"Language: de-DE\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
@ -81,4 +81,7 @@ class PlaceTagDeleteView(IsAuthenticatedMixin, View):
|
|||||||
return redirect(reverse_lazy('place_detail', kwargs={'pk': tagged_id}))
|
return redirect(reverse_lazy('place_detail', kwargs={'pk': tagged_id}))
|
||||||
|
|
||||||
def FlatView(request, slug):
|
def FlatView(request, slug):
|
||||||
|
if request.LANGUAGE_CODE == 'de':
|
||||||
|
return render(request, 'flat/' + slug + '-de' + '.html')
|
||||||
|
else:
|
||||||
return render(request, 'flat/' + slug + '.html')
|
return render(request, 'flat/' + slug + '.html')
|
||||||
|
Loading…
Reference in New Issue
Block a user