Resolve "Allow site-local configuration of available languages" #2026

Merged
hansegucker merged 1 commit from 261-allow-site-local-configuration-of-available-languages into master 2020-11-11 19:44:08 +01:00
Owner

Closes #261

Closes #261
Author
Owner

changed the description

changed the description
Author
Owner

added 1 commit

  • d0443327 - Allow site local configuration of available languages. Closes #261.

Compare with previous version

added 1 commit <ul><li>d0443327 - Allow site local configuration of available languages. Closes #261.</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3667&start_sha=d8cc34123392d4bb0774790c800d775eb96e192f)
Author
Owner

Screenshot_2020-11-11_Preferences___AlekSIS

![Screenshot_2020-11-11_Preferences___AlekSIS](/uploads/a172c56c918a76730cb78cf7faf0b110/Screenshot_2020-11-11_Preferences___AlekSIS.png)
Author
Owner

assigned to @hansegucker

assigned to @hansegucker
Author
Owner

unmarked as a Work In Progress

unmarked as a **Work In Progress**
Author
Owner

added 1 commit

  • 23c03b82 - Allow site local configuration of available languages. Closes #261.

Compare with previous version

added 1 commit <ul><li>23c03b82 - Allow site local configuration of available languages. Closes #261.</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3668&start_sha=d04433276bf585a849882f6be00e7a5b5cd020a7)
Author
Owner

added 1 commit

  • 26a90c94 - Allow site local configuration of available languages. Closes #261.

Compare with previous version

added 1 commit <ul><li>26a90c94 - Allow site local configuration of available languages. Closes #261.</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3669&start_sha=23c03b82b35e3aadff5dd59f872ba9bf602efae3)
Author
Owner

added 1 commit

  • bc8ecf07 - Allow site local configuration of available languages. Closes #261.

Compare with previous version

added 1 commit <ul><li>bc8ecf07 - Allow site local configuration of available languages. Closes #261.</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3672&start_sha=26a90c94ed0713871fdde5432d5d7372219a9315)
Owner
Please use https://docs.djangoproject.com/en/3.1/ref/forms/widgets/#selectmultiple as widget.
Author
Owner

added 1 commit

  • 2954f85a - Allow site local configuration of available languages. Closes #261.

Compare with previous version

added 1 commit <ul><li>2954f85a - Allow site local configuration of available languages. Closes #261.</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3673&start_sha=bc8ecf076f00928d382d4f399122bfc89f8a77b7)
Author
Owner

resolved all threads

resolved all threads
Author
Owner

Screenshot_2020-11-11_Preferences___AlekSIS_1_

![Screenshot_2020-11-11_Preferences___AlekSIS_1_](/uploads/443cffd283f9ec3661e27f133d063ac3/Screenshot_2020-11-11_Preferences___AlekSIS_1_.png)
Owner

approved this merge request

approved this merge request
Owner

assigned to @nik and unassigned @hansegucker

assigned to @nik and unassigned @hansegucker
Owner

@nik Please check backend implementation and merge if everything is fine.

@nik Please check backend implementation and merge if everything is fine.
Owner

Please use British English

Please use British English
Owner

Don't we have a generic helper to get site preferences inside templates?

Don't we have a generic helper to get site preferences inside templates?
Owner

I think the default should be all available languages.

I think the default should be all available languages.
Author
Owner

No

No
Owner
Bad luck. We should take the opportunity to mimic https://github.com/EliotBerriot/django-dynamic-preferences/blob/develop/dynamic_preferences/processors.py, then.
Author
Owner

changed this line in version 6 of the diff

changed this line in [version 6 of the diff](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3674&start_sha=2954f85ab1cbd82fa6d9dec00639405beec60f60#cedfd047579474194a5f10a12c798242313675da_26_26)
Author
Owner

changed this line in version 6 of the diff

changed this line in [version 6 of the diff](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3674&start_sha=2954f85ab1cbd82fa6d9dec00639405beec60f60#cedfd047579474194a5f10a12c798242313675da_207_207)
Author
Owner

added 4 commits

  • 2954f85a...5af9f95a - 2 commits from branch master
  • e469667a - Merge branch 'master' into 261-allow-site-local-configuration-of-available-languages
  • 87ea8e09 - Enable all languages by default

Compare with previous version

added 4 commits <ul><li>2954f85a...5af9f95a - 2 commits from branch <code>master</code></li><li>e469667a - Merge branch &#39;master&#39; into 261-allow-site-local-configuration-of-available-languages</li><li>87ea8e09 - Enable all languages by default</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3674&start_sha=2954f85ab1cbd82fa6d9dec00639405beec60f60)
Author
Owner

changed this line in version 7 of the diff

changed this line in [version 7 of the diff](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3675&start_sha=87ea8e0971351f15ff86186555d370b01075e4c6#1839426565dc577c667616b79bc00477285b1159_58_54)
Author
Owner

added 1 commit

  • c1e5cebd - Allow site local configuration of available languages

Compare with previous version

added 1 commit <ul><li>c1e5cebd - Allow site local configuration of available languages</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS/-/merge_requests/381/diffs?diff_id=3675&start_sha=87ea8e0971351f15ff86186555d370b01075e4c6)
Author
Owner

Please look at the code again. We also use preferences in all other templates this way (thanks to @hansegucker)

Please look at the code again. We also use preferences in all other templates this way (thanks to @hansegucker)
Author
Owner

resolved all threads

resolved all threads
Author
Owner

approved this merge request

approved this merge request
Owner

mentioned in commit 19a4ddd567

mentioned in commit 19a4ddd567581e035105ffcf8ecde86e4df28624
nik merged commit 19a4ddd567 into master 2020-11-11 19:44:09 +01:00
tteichler approved these changes 2026-07-30 18:37:47 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core!2026
No description provided.