Colm O'Connor
37c5b8c07b
Fixed #34093 -- Changed width/height of switch button icons to use rem units in admin.
2022-10-14 06:10:50 +02:00
Rasmus Magnell
c4aac2ac1e
Fixed #34042 -- Improved accessibility of admin's navigation sidebar.
2022-10-12 10:21:17 +02:00
Mariusz Felisiak
da8fa76413
Fixed #34081 -- Reverted "Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in admin base template."
...
This reverts commit a69b0e9cfe
.
2022-10-10 13:43:10 +02:00
Mariusz Felisiak
15682cb003
Fixed wrapping of long model names in the admin.
2022-10-10 11:17:02 +02:00
Shubh1815
7a39a691e1
Fixed #32603 -- Made ModelAdmin.list_editable use transactions.
2022-10-06 20:44:07 +02:00
David Sanders
9976f3d4b8
Fixed #34025 -- Fixed selecting ModelAdmin.autocomplete_fields after adding/changing related instances via popups.
...
Regression in c72f6f36c1
.
Thanks Alexandre da Silva for the report.
2022-09-28 11:28:01 +02:00
Moshe Nahmias
d938b3b257
Fixed #34040 -- Removed autofocus from admin search box.
2022-09-26 21:06:48 +02:00
Florian Perucki
872b61193b
Refs #34041 -- Added navigation landmark to breadcrumbs in admin.
...
Thanks Thibaud Colas for pair programming.
2022-09-26 08:51:15 +02:00
Mia Bajić
50096a3a7a
Fixed #34037 -- Improved color contrast for close buttons in admin.
2022-09-25 19:48:46 +02:00
Pablousse
2905cbfd06
Fixed #34049 -- Fixed displaying SVGs patterns.
...
Regression in bc7aa2a5e9
.
2022-09-25 19:33:30 +02:00
Florian Perucki
2c7c22f94d
Fixed #34033 -- Improved accessibility of switch button for dark mode in the admin.
...
Bug in bc7aa2a5e9
.
Thanks Thibaud Colas for the report and review.
2022-09-24 14:26:54 +01:00
Michał Pasternak
0f31d10c7c
Fixed #34023 -- Added inline argument to user_deleted_form().
...
This binds the loop variable.
2022-09-24 11:16:20 +01:00
Jay Patel
a69b0e9cfe
Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in admin base template.
2022-09-15 14:33:41 +02:00
Youngkwang Yang
cd11664066
Changed camel case variable to snake case in contrib.admin/auth.
2022-09-15 13:26:55 +02:00
Tom Carrick
0c3981eb50
Used CSS flex and <nav> for ModelAdmin.date_hierarchy.
2022-09-08 13:52:36 +02:00
Gav O'Connor
be63c78760
Fixed #24179 -- Added filtering to selected side of vertical/horizontal filters.
2022-09-06 10:46:58 +02:00
Swara
12617fbd85
Corrected the direction of arrows in admin selector boxes for RTL languages.
2022-08-31 08:03:39 +02:00
Alex Morega
de6c9c7054
Refs #30947 -- Changed tuples to lists where appropriate.
2022-08-30 09:57:17 +02:00
David Wobrock
897f38fabe
Fixed #33927 -- Fixed crash when displaying ArrayField with choices in admin.
2022-08-23 15:51:42 +02:00
Tom Carrick
bd36023100
Used CSS flex for admin's submit row.
2022-08-18 12:29:40 +02:00
Jacob Rief
aed60aee38
Fixed #33930 -- Eased customization of delete_confirmation.html template in the admin.
2022-08-18 10:51:12 +02:00
Carlton Gibson
e1056ed5a2
Refs #33491 -- Split CSS selected-row highlight selectors.
...
Combined selectors break the whole rule where :has() is not supported,
for example on Firefox.
Thanks to Marcelo Galigniana for the report.
2022-08-17 14:18:38 +02:00
Marcelo Galigniana
0aa2f16e63
Fixed #33491 -- Fixed change-list selected row-highlight on cancelled delete.
...
Selected rows where not highlighted when returning to the change-list
after clicking "No, take me back" on the deletion confirmation page.
This commit uses the CSS :has() pseudo-class to apply the highlight
without requiring the .selected class, which is added by JavaScript
on the click event.
Once all supported browsers have :has() available, the .selected
selector and the JavaScript to add the class can be removed.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-08-17 11:49:34 +02:00
Tom Carrick
d46cc15c51
Fixed #33878 -- Switched to system fonts in CSS.
2022-08-17 10:19:00 +02:00
Tom Carrick
43ddce0aeb
Fixed CSS variable indentation.
...
Matches 4-space indentation used elsewhere in project CSS files.
2022-08-17 10:19:00 +02:00
Claude Paroz
4fcba800b8
Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes.
2022-08-12 13:26:35 +02:00
Mariusz Felisiak
f3a06b06b5
Removed unused InlineAdminForm.ordering_field().
...
Unused since its introduction in a19ed8aea3
.
2022-08-09 09:26:12 +02:00
Fab
0756c61f2a
Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of admin forms."
...
Regression in fe7dbef586
.
2022-08-05 16:38:52 +02:00
Claude Paroz
0638b4e23d
Fixed #33888 -- Fixed get_select2_language() crash with no language activated.
...
Regression in 3079133c73
.
2022-08-03 19:51:25 +02:00
Mariusz Felisiak
919e65b21e
Updated translations from Transifex.
...
This also fixes related i18n tests.
Forwardport of a3bab93324
from stable/4.1.x.
Co-authored-by: Claude Paroz <claude@2xlibre.net>
2022-08-03 08:04:34 +02:00
Sarah Abderemane
bc7aa2a5e9
Fixed #33690 -- Added switch button for dark mode in the admin.
2022-08-02 17:14:24 +02:00
Marcelo Galigniana
564437f767
Fixed #33726 -- Added skip-link to admin for keyboard navigation.
2022-07-28 11:52:48 +02:00
Nick Pope
9dff316be4
Refs #32948 , Refs #32946 -- Used Q.create() internally for dynamic Q() objects.
...
Node.create() which has a compatible signature with Node.__init__()
takes in a single `children` argument rather than relying in unpacking
*args in Q.__init__() which calls Node.__init__().
In addition, we were often needing to unpack iterables into *args and
can instead pass a list direct to Node.create().
2022-07-27 10:06:24 +02:00
Nick Pope
36cd425943
Simplified various built-in templates.
...
- Using the {% plural %} tag.
- Using the |yesno filter.
- Using the |unordered_list filter.
- Unnesting {% if %} where not required.
- Not duplicating {% if %}.
2022-07-25 10:20:46 +02:00
Ikko Ashimine
85df081add
Fixed typo in django/contrib/admin/options.py comment.
2022-07-25 07:19:52 +02:00
Nick Pope
4d4bf55e0e
Fixed #33864 -- Deprecated length_is template filter.
2022-07-23 12:36:21 +02:00
Leonid Podriz
eae973df66
Fixed #33833 -- Corrected .closelink admin CSS.
...
Co-authored-by: Leonid Podriz <leonidpodriz@pm.me>
2022-07-20 21:58:10 +02:00
Alexander Freyr L
b4817d20b9
Fixed #33728 -- Reordered submit buttons in admin.
...
Thanks Tom Carrick and Thibaud Colas for reviews.
2022-07-17 13:23:53 +02:00
Carlton Gibson
6f80050496
Fixed #33781 -- Restored alignment for admin split-field timezone warnings.
...
Regression in f3e2bb0833
.
Refs #33750 and #27207 .
2022-07-07 11:32:05 +02:00
Ankur
eb7b8f3699
Fixed #33805 -- Made admin's many-to-many widgets do not display help text for selecting values when allow_multiple_selected is False.
2022-06-28 06:04:42 +02:00
Marcelo Galigniana
d80a258553
Fixed #33028 -- Used ModelAdmin's opts attribute instead of model._meta.
2022-06-22 07:50:24 +02:00
Ankur
d19a53d8e3
Fixed #33784 -- Removed unnecessary format escaping in admin calendar widget.
...
Replacements were added in fa0653cd1d
where we created a callback function by concatenating strings. It's
unnecessary since d638cdc42a
.
2022-06-18 20:21:28 +02:00
Florian Demmer
f3e2bb0833
Fixed #33750 -- Fixed timezone warning alignment with help texts.
...
Previously help_text was wrapped in a paragraph, but the change to div
broke the alignment, refs #27207 .
2022-06-01 11:41:15 +02:00
Sankalp
90dcf27114
Fixed #33725 -- Made hidden quick filter in admin's navigation sidebar not focusable.
...
Regression in d915dd1c58
.
Follow up to 780473d756
.
2022-05-21 13:37:53 +02:00
Mohammed Y. Alnajdi
78bf1565c3
Fixed #33727 -- Fixed color contrasts in admin header.
2022-05-21 12:35:10 +02:00
Mariusz Felisiak
4286378a08
Updated source translation catalogs.
...
Forward port of d1f1a0168a
from
stable/4.1.x.
2022-05-17 14:17:07 +02:00
Daniel Hahler
dddc8bc47d
Fixed #33679 -- Fixed the last inline's id in admin for users without add permissions.
2022-05-06 08:36:04 +02:00
Hrushikesh Vaidya
f74d4cae6d
Fixed #33667 -- Used --header-branding-color for branding headers in admin.
2022-05-03 08:29:51 +02:00
Marcelo Galigniana
27aa7035f5
Fixed #27471 -- Made admin's filter choices collapsable.
2022-04-26 08:44:31 +02:00
siddhartha-star-dev
dcebc5da48
Refs #2259 -- Disallowed primary keys in ModelAdmin.list_editable.
...
Refs #32728 .
2022-04-25 11:00:50 +02:00