wagtail-cjkcms 24.9.1__py2.py3-none-any.whl → 24.10.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cjkcms/__init__.py +1 -1
- cjkcms/templates/cjkcms/blocks/button_block.html +2 -2
- cjkcms/templates/cjkcms/pages/search.html +5 -1
- {wagtail_cjkcms-24.9.1.dist-info → wagtail_cjkcms-24.10.1.dist-info}/METADATA +1 -1
- {wagtail_cjkcms-24.9.1.dist-info → wagtail_cjkcms-24.10.1.dist-info}/RECORD +9 -11
- {wagtail_cjkcms-24.9.1.dist-info → wagtail_cjkcms-24.10.1.dist-info}/WHEEL +1 -1
- cjkcms/tests/media/images/test.original.png +0 -0
- cjkcms/tests/media/original_images/test.png +0 -0
- {wagtail_cjkcms-24.9.1.dist-info → wagtail_cjkcms-24.10.1.dist-info}/LICENSE +0 -0
- {wagtail_cjkcms-24.9.1.dist-info → wagtail_cjkcms-24.10.1.dist-info}/entry_points.txt +0 -0
- {wagtail_cjkcms-24.9.1.dist-info → wagtail_cjkcms-24.10.1.dist-info}/top_level.txt +0 -0
cjkcms/__init__.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
{% load cjkcms_tags %}
|
1
|
+
{% load cjkcms_tags wagtailcore_tags %}
|
2
2
|
|
3
3
|
{% can_show_item value.visible_for as csi %}
|
4
4
|
{% if csi %}
|
5
|
-
<a href="{{self.url}}"
|
5
|
+
<a href="{% if request.LANGUAGE_CODE and request.LANGUAGE_CODE != 'en' %}/{{ request.LANGUAGE_CODE }}{% endif %}{{ self.url }}"
|
6
6
|
{% if settings.cjkcms.AnalyticsSettings.ga_track_button_clicks %}
|
7
7
|
data-ga-event-category='{{self.settings.ga_tracking_event_category|default:"Button"}}'
|
8
8
|
data-ga-event-label='{{self.settings.ga_tracking_event_label|default:self.button_title}}'
|
@@ -60,7 +60,11 @@
|
|
60
60
|
{% for page in results_paginated %}
|
61
61
|
<div class="mb-5">
|
62
62
|
{% with page=page.specific %}
|
63
|
-
{%
|
63
|
+
{% if page.search_template %}
|
64
|
+
{% include page.search_template %}
|
65
|
+
{% else %}
|
66
|
+
{% include "cjkcms/pages/search_result.html" %}
|
67
|
+
{% endif %}
|
64
68
|
{% endwith %}
|
65
69
|
</div>
|
66
70
|
{% endfor %}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
cjkcms/__init__.py,sha256=
|
1
|
+
cjkcms/__init__.py,sha256=7Y2-d_V4x4pTA_2fk-CkTOblqr9l2rz_iiQW-EmN_60,273
|
2
2
|
cjkcms/apps.py,sha256=VA5Z1YerImetvN8KsjPTMSn1fSo6O1JkBJdK5y5ubJY,173
|
3
3
|
cjkcms/fields.py,sha256=dE0DuNIjX7jhA-5GjSmR2l66EDH2kq3vuxL9WyRALCY,3191
|
4
4
|
cjkcms/forms.py,sha256=_uu_FR8odz40lD-Rmw0tlK7-xxxa8THHfV2-1ZJYsIM,361
|
@@ -179,7 +179,7 @@ cjkcms/templates/cjkcms/blocks/article_block_card.html,sha256=37Xb0XNGVSyWP8gXVG
|
|
179
179
|
cjkcms/templates/cjkcms/blocks/article_masonry_card.html,sha256=rW1fDJrERAw_1u391An7F8mvqmrvM2xLcXS9gAgfwuM,1132
|
180
180
|
cjkcms/templates/cjkcms/blocks/base_block.html,sha256=i1iRaLNqVF5Cd_Tv56TbXrA8uBCChnRMRagN047Rx2I,188
|
181
181
|
cjkcms/templates/cjkcms/blocks/base_link_block.html,sha256=EznK9jWFFC_k8mEyi3W_h0w3CNvB_jubYsTawAEvivY,2675
|
182
|
-
cjkcms/templates/cjkcms/blocks/button_block.html,sha256=
|
182
|
+
cjkcms/templates/cjkcms/blocks/button_block.html,sha256=cNovMRdHugaR0gQhYws-Mm9PiJHZAWF1MlE620HOJUQ,862
|
183
183
|
cjkcms/templates/cjkcms/blocks/card_block.html,sha256=Z5wzPM7-X3QWx5B_CAO2e5ei9OyNwUD4m4h_HV2Bj5c,746
|
184
184
|
cjkcms/templates/cjkcms/blocks/card_blurb.html,sha256=QUIK1Xv7cIvTA17wXSp0FKCSobQhBWqLqPIWMNvd2u8,856
|
185
185
|
cjkcms/templates/cjkcms/blocks/card_foot.html,sha256=VPGJRBTAf_n73wS_nNryccnrmrGNGy9NodPxgI_3ioc,786
|
@@ -276,7 +276,7 @@ cjkcms/templates/cjkcms/pages/base.html,sha256=cdr1wUFE74HztUT1RpIKay7lhg8RGo99u
|
|
276
276
|
cjkcms/templates/cjkcms/pages/form_page_landing.html,sha256=zdySSHOWF10-x2MFLH9XMjeFSeNTMRM-VpvZ1tM8kw0,248
|
277
277
|
cjkcms/templates/cjkcms/pages/home_page.html,sha256=67h2o3EVXsrivMqM26OZV-7-H_9vv1clFJ4MFMknIMU,50
|
278
278
|
cjkcms/templates/cjkcms/pages/page.mini.html,sha256=VR3lTCUgHPXTd2HAlNrxQAmNjS_0VGzfQccUV5IeDXc,506
|
279
|
-
cjkcms/templates/cjkcms/pages/search.html,sha256=-
|
279
|
+
cjkcms/templates/cjkcms/pages/search.html,sha256=-48UPLBhEmd2bMVg8mz4GvcIm5OLkcbiqKltgLLzges,2802
|
280
280
|
cjkcms/templates/cjkcms/pages/search_result.html,sha256=peGL-4UtHGQdYlmdUqGUX3MxZLuw4EcxY00yQFW_7Ag,582
|
281
281
|
cjkcms/templates/cjkcms/pages/web_page.html,sha256=floOVzOyPYvTMKfWd3pY0vyrqG7jt4WS5xJt3j6gZM0,594
|
282
282
|
cjkcms/templates/cjkcms/pages/web_page_notitle.html,sha256=HjwzN8NpJBOVjKM6_cLtPfUllotFMkvQPLXL2aoB6A0,378
|
@@ -322,17 +322,15 @@ cjkcms/tests/test_templatetags.py,sha256=RHaIn93G8Aa2lG3JTHSPhFOTLBa4AWXJnwXa9Us
|
|
322
322
|
cjkcms/tests/test_urls.py,sha256=v0MnVUzJmUcpnPQ0jTkslUqsj0gfbCEmyQw7_zualWk,2832
|
323
323
|
cjkcms/tests/test_webpage.py,sha256=PvXeXbawigObsdi_YpQNuHFx3Lqi6wM3ktVHZsxYbr4,1520
|
324
324
|
cjkcms/tests/urls.py,sha256=_ksKz7HBHJtQK3HxC9cmJMX_dt6n4alx3FXjcL-cu28,850
|
325
|
-
cjkcms/tests/media/images/test.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
326
|
-
cjkcms/tests/media/original_images/test.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
327
325
|
cjkcms/tests/testapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
328
326
|
cjkcms/tests/testapp/apps.py,sha256=EwyrkWTu-_OoLoERBTlqkqfPIIrEsbHY3kbCxgrv_7I,169
|
329
327
|
cjkcms/tests/testapp/models.py,sha256=Rkn9KHrGbLzrKjP4y_gwtXma1_fJOZNU7ekb689fJEU,488
|
330
328
|
cjkcms/tests/testapp/migrations/0001_initial.py,sha256=hxr-r-42IQEGr_OsZkxXXCW7wbxAHuI_OLOkn-seJUU,4942
|
331
329
|
cjkcms/tests/testapp/migrations/0002_create_homepage.py,sha256=EfsxHh1oyqwahW9RVpTvaRDx_CHtFSJQahKEr7XC5Gg,1999
|
332
330
|
cjkcms/tests/testapp/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
333
|
-
wagtail_cjkcms-24.
|
334
|
-
wagtail_cjkcms-24.
|
335
|
-
wagtail_cjkcms-24.
|
336
|
-
wagtail_cjkcms-24.
|
337
|
-
wagtail_cjkcms-24.
|
338
|
-
wagtail_cjkcms-24.
|
331
|
+
wagtail_cjkcms-24.10.1.dist-info/LICENSE,sha256=KHsCh1fKOZzvcKe1a9h3FlDjTjK_UurO3wHK55TnHHo,1538
|
332
|
+
wagtail_cjkcms-24.10.1.dist-info/METADATA,sha256=VTtMmsBEBdBB6k-orM-AGdJxuOzKL1tQt6ZLQswSBwI,3107
|
333
|
+
wagtail_cjkcms-24.10.1.dist-info/WHEEL,sha256=OpXWERl2xLPRHTvd2ZXo_iluPEQd8uSbYkJ53NAER_Y,109
|
334
|
+
wagtail_cjkcms-24.10.1.dist-info/entry_points.txt,sha256=FzoiFENdZ1uebNztyz6GlswkumQspd5VjWbR9MUIH_8,50
|
335
|
+
wagtail_cjkcms-24.10.1.dist-info/top_level.txt,sha256=8wJGOGo1pG5nO5akfcMzA7i3ndj5868I8w35vTT0JJM,7
|
336
|
+
wagtail_cjkcms-24.10.1.dist-info/RECORD,,
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|