mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
All the RTL related changes
This commit is contained in:
parent
ba6ba4c367
commit
82972d28e2
7 changed files with 176 additions and 7 deletions
|
@ -69,12 +69,14 @@ def make_context(request: Request, title: str, next: str = None):
|
|||
commit_hash = commit_hash[:7]
|
||||
|
||||
timezone = time.get_request_timezone(request)
|
||||
language = l10n.get_request_language(request)
|
||||
return {
|
||||
"request": request,
|
||||
"commit_url": commit_url,
|
||||
"commit_hash": commit_hash,
|
||||
"language": l10n.get_request_language(request),
|
||||
"language": language,
|
||||
"languages": l10n.SUPPORTED_LANGUAGES,
|
||||
"rtl": language in l10n.RIGHT_TO_LEFT_LANGUAGES,
|
||||
"timezone": timezone,
|
||||
"timezones": time.SUPPORTED_TIMEZONES,
|
||||
"title": title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue