Просмотр исходного кода

Remove forced capitalization of site name on admin dashboard (#12601)

Fixes #12592
Matt Westcott 4 месяцев назад
Родитель
Сommit
f833a2f520
3 измененных файлов с 3 добавлено и 1 удалено
  1. 1 0
      CHANGELOG.txt
  2. 1 0
      docs/releases/6.3.1.md
  3. 1 1
      wagtail/admin/templates/wagtailadmin/home.html

+ 1 - 0
CHANGELOG.txt

@@ -57,6 +57,7 @@ Changelog
  * Fix: Restore ability to upload profile picture through account settings (Sage Abdullah)
  * Fix: Correctly handle `ImageChooserBlock` to `ImageBlock` data conversions where all inputs to `bulk_to_python` are null (Storm Heg, Matt Westcott)
  * Fix: Improve spacing of page / collection permissions table in Group settings (Sage Abdullah)
+ * Fix: Remove forced capitalization of site name on admin dashboard (Thibaud Colas)
  * Docs: Reword `BlogTagIndexPage` example for clarity (Clifford Gama)
  * Docs: Change title of blog index page in tutorial to avoid slug issues (Thibaud Colas)
  * Docs: Fix `wagtailcache` and `wagtailpagecache` examples to not use quotes for the `fragment_name` (Shiv)

+ 1 - 0
docs/releases/6.3.1.md

@@ -17,6 +17,7 @@ depth: 1
  * Restore ability to upload profile picture through account settings (Sage Abdullah)
  * Correctly handle `ImageChooserBlock` to `ImageBlock` data conversions where all inputs to `bulk_to_python` are null (Storm Heg, Matt Westcott)
  * Improve spacing of page / collection permissions table in Group settings (Sage Abdullah)
+ * Remove forced capitalization of site name on admin dashboard (Thibaud Colas)
 
 
 ### Documentation

+ 1 - 1
wagtail/admin/templates/wagtailadmin/home.html

@@ -8,7 +8,7 @@
 
 {% block content %}
     {% fragment as header_title %}
-        {% block branding_welcome %}{{ site_name|title }}{% endblock %}
+        {% block branding_welcome %}{{ site_name }}{% endblock %}
     {% endfragment %}
 
     {% component upgrade_notification %}