wagtail-cjkcms 25.1.6__py2.py3-none-any.whl → 25.1.8__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- cjkcms/__init__.py +1 -1
- cjkcms/templates/cjkcms/pages/base.html +1 -1
- cjkcms/templates/cjkcms/snippets/frontend_scripts.html +1 -1
- cjkcms/templatetags/cjkcms_tags.py +5 -1
- cjkcms/tests/media/images/test_DqyysqG.original.png +0 -0
- cjkcms/tests/media/original_images/test_DqyysqG.png +0 -0
- {wagtail_cjkcms-25.1.6.dist-info → wagtail_cjkcms-25.1.8.dist-info}/METADATA +1 -1
- {wagtail_cjkcms-25.1.6.dist-info → wagtail_cjkcms-25.1.8.dist-info}/RECORD +14 -20
- cjkcms/.DS_Store +0 -0
- cjkcms/static/.DS_Store +0 -0
- cjkcms/static/vendor/.DS_Store +0 -0
- cjkcms/static/vendor/mdb/.DS_Store +0 -0
- cjkcms/static/vendor/mdb/css/.DS_Store +0 -0
- cjkcms/static/vendor/mdb/js/.DS_Store +0 -0
- cjkcms/templates/.DS_Store +0 -0
- cjkcms/templates/cjkcms/.DS_Store +0 -0
- /cjkcms/tests/media/images/{test_O3GLriA.original.png → test_6zOjMLi.original.png} +0 -0
- /cjkcms/tests/media/original_images/{test_O3GLriA.png → test_6zOjMLi.png} +0 -0
- {wagtail_cjkcms-25.1.6.dist-info → wagtail_cjkcms-25.1.8.dist-info}/LICENSE +0 -0
- {wagtail_cjkcms-25.1.6.dist-info → wagtail_cjkcms-25.1.8.dist-info}/WHEEL +0 -0
- {wagtail_cjkcms-25.1.6.dist-info → wagtail_cjkcms-25.1.8.dist-info}/entry_points.txt +0 -0
- {wagtail_cjkcms-25.1.6.dist-info → wagtail_cjkcms-25.1.8.dist-info}/top_level.txt +0 -0
cjkcms/__init__.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
{% if settings.cjkcms.LayoutSettings.frontend_theme == 'python-webpack' %}
|
5
5
|
{% if_has_tag javascript_pack %}
|
6
|
-
{% javascript_pack 'app' attrs='charset="UTF-8"' %} {# you may add space-separated 'app2' etc after 'app' #}
|
6
|
+
{% javascript_pack 'app' app_name attrs='charset="UTF-8"' %} {# you may add space-separated 'app2' etc after 'app' #}
|
7
7
|
{% endif_has_tag %}
|
8
8
|
{% else %}
|
9
9
|
<script src="{% theme_js %}"
|
@@ -181,7 +181,11 @@ def get_navbar(context, navbar_id) -> "Navbar":
|
|
181
181
|
Returns:
|
182
182
|
Navbar: The Navbar object with the given id
|
183
183
|
"""
|
184
|
-
|
184
|
+
try:
|
185
|
+
n = Navbar.objects.get(custom_id=navbar_id)
|
186
|
+
except Navbar.DoesNotExist:
|
187
|
+
n = None
|
188
|
+
return n
|
185
189
|
|
186
190
|
|
187
191
|
@register.simple_tag(takes_context=True)
|
Binary file
|
Binary file
|
@@ -1,5 +1,4 @@
|
|
1
|
-
cjkcms
|
2
|
-
cjkcms/__init__.py,sha256=vfI-krFilc00o2kzLGl1Chw4Prkn_J9qArvq98uF7lc,272
|
1
|
+
cjkcms/__init__.py,sha256=cfxD_JH-bxLSrTkqKQcIxWg_PM_Ju_EzGh3wtvq2LDM,272
|
3
2
|
cjkcms/apps.py,sha256=VA5Z1YerImetvN8KsjPTMSn1fSo6O1JkBJdK5y5ubJY,173
|
4
3
|
cjkcms/fields.py,sha256=dE0DuNIjX7jhA-5GjSmR2l66EDH2kq3vuxL9WyRALCY,3191
|
5
4
|
cjkcms/forms.py,sha256=_uu_FR8odz40lD-Rmw0tlK7-xxxa8THHfV2-1ZJYsIM,361
|
@@ -141,7 +140,6 @@ cjkcms/project_template/webpack/project_name/static/js/devsite.js,sha256=47DEQpj
|
|
141
140
|
cjkcms/project_template/webpack/search/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
142
141
|
cjkcms/project_template/webpack/search/views.py,sha256=Q_g-24nZPUYoL9pmo5u7PfLGL95jlUT2Ow7Vpm1bjZU,1019
|
143
142
|
cjkcms/project_template/webpack/search/templates/search/search.html,sha256=acn2R_BiiOcuh3FPNkRliCcZzh28z1Ha-0QbL-w-cWY,1097
|
144
|
-
cjkcms/static/.DS_Store,sha256=RizEDsCuvmQz4WVPsXHIhD32-b3g1CDF0W6pR2WzTew,6148
|
145
143
|
cjkcms/static/cjkcms/bi/bootstrap-icons.css,sha256=dZRvUx65x4IL8xmd7cFttdizYwtNjkXq_sWUxeypWmc,93729
|
146
144
|
cjkcms/static/cjkcms/bi/bootstrap-icons.json,sha256=9_CfjAQgfiFAClLceQJhTzy5oZUHAMNV19JV1duLWKQ,49971
|
147
145
|
cjkcms/static/cjkcms/bi/bootstrap-icons.scss,sha256=LEofdAzggOh9QQOgtA4YXf90GWwbQq8YgepHgcLNf5o,55169
|
@@ -169,12 +167,8 @@ cjkcms/static/cjkcms/js/cjkcms-editor.js,sha256=ZIdSmXSBx0h3narH6ge0ZJlllOdV8M1J
|
|
169
167
|
cjkcms/static/cjkcms/js/cjkcms-front.js,sha256=rutoF9X9-HdxtH2ehOP3LZK3JcDYDN3iUqsO6f1n68A,5579
|
170
168
|
cjkcms/static/cookieconsent/cookieconsent.css,sha256=PPTG3VhEwHh8jgoiOgifordwvLTG5M7hEhrueOUy4Kc,18803
|
171
169
|
cjkcms/static/cookieconsent/cookieconsent.js,sha256=r372zsTupu5VyD3zkc-VWL5tGUNhz5FNcPK9WkP9Mz0,18743
|
172
|
-
cjkcms/static/vendor/.DS_Store,sha256=GJykjgDaphdCrGMpJ6quiM-qyxx2i6CneZUAwtBl9kg,6148
|
173
|
-
cjkcms/static/vendor/mdb/.DS_Store,sha256=zdOnEhljh0QvQexXcd1-s9dQOHj4ws_ueGV8UlyT0rs,6148
|
174
|
-
cjkcms/static/vendor/mdb/css/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
175
170
|
cjkcms/static/vendor/mdb/css/mdb.min.css,sha256=1iGJEwUZEQyasXLHrSSe-DR9gE_s8Nq7vkndlhlKr28,379902
|
176
171
|
cjkcms/static/vendor/mdb/css/mdb.min.css.map,sha256=NKAF5z9x63H4yfAMe5uQCK5bqpqDokyA-OZ8Js5VRpM,548537
|
177
|
-
cjkcms/static/vendor/mdb/js/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
178
172
|
cjkcms/static/vendor/mdb/js/mdb.umd.min.js,sha256=3KDxvzTmoG1orgwfGejdsnHqPtLkzmGKFaVIonmWhV8,125175
|
179
173
|
cjkcms/static/vendor/mdb/js/mdb.umd.min.js.map,sha256=DVxK_TI0xijPyBf5LrUX8xx6LkB-SfgAgf04jQY0vxQ,505660
|
180
174
|
cjkcms/static/vendor/simplycountdown/css/circle.css,sha256=p8XghcW_i3DReRzmivluCPvvTeufVcyzpQRlHtYPxwI,1632
|
@@ -184,10 +178,8 @@ cjkcms/static/vendor/simplycountdown/css/light.css,sha256=WXbRsGaWA-xmc-tMeTNGvx
|
|
184
178
|
cjkcms/static/vendor/simplycountdown/css/losange.css,sha256=qzyTDoj2LhR6JMQB7OAe3nwG1Wm3Te4rnDmq1qRBw5s,1803
|
185
179
|
cjkcms/static/vendor/simplycountdown/js/simplyCountdown.umd.js,sha256=Jiw45EkrYMAywPxoUK0G7sUaZWZo6Aucpw5gt8YIl7w,5024
|
186
180
|
cjkcms/static/vendor/simplycountdown/js/simplyCountdown.umd.js.map,sha256=qunXuRwA6mOaCihYJfsIg7J72p3XaurneVGSTNPez7Y,25873
|
187
|
-
cjkcms/templates/.DS_Store,sha256=dyZnb39fKIIkLjeDh-Q3jgmLIVt624Ouh-D6Bg_KNAU,6148
|
188
181
|
cjkcms/templates/404.html,sha256=GnIFZoXMcFzz_UTMChOgbO6-IIWQZKaAom7OJXn6dao,3245
|
189
182
|
cjkcms/templates/500.html,sha256=YWYel2g2SDKLwSv8C9VLPzVvkcRLo6X9WYwWjxnfz0U,4802
|
190
|
-
cjkcms/templates/cjkcms/.DS_Store,sha256=NwzhrmDltCxS7YoBeOATZudLJpi4MQUWmPTib_I-ODw,6148
|
191
183
|
cjkcms/templates/cjkcms/robots.txt,sha256=669-RWM9DZYUfyxUvl2Fxn6pcZ_7Efbb7HeZYoR0DWo,92
|
192
184
|
cjkcms/templates/cjkcms/blocks/accordion_block.html,sha256=9gsMZMflXqdYcFVqf8YOsyb3YYHgC26Sug_tzGvc6N8,1443
|
193
185
|
cjkcms/templates/cjkcms/blocks/article_block_card.html,sha256=37Xb0XNGVSyWP8gXVGh742eZmW-3hFSmEAfCe5QOrvo,974
|
@@ -288,7 +280,7 @@ cjkcms/templates/cjkcms/includes/stream_forms/render_field.html,sha256=F3FHztOTG
|
|
288
280
|
cjkcms/templates/cjkcms/pages/article_index_page.html,sha256=K_5xM-d2EPDJ961LLqiOLompzSoJz1cHQbwvRNDZfH4,2002
|
289
281
|
cjkcms/templates/cjkcms/pages/article_page.html,sha256=jXOAOznaiSPULcZQB-A8AYmeTU9-xEWcyAgnrYAJ74Y,2031
|
290
282
|
cjkcms/templates/cjkcms/pages/article_page.search.html,sha256=0L4zGoqu1SP1F2BIIYeD9IMaxpjIsqawpIzEN8e94kY,1018
|
291
|
-
cjkcms/templates/cjkcms/pages/base.html,sha256=
|
283
|
+
cjkcms/templates/cjkcms/pages/base.html,sha256=XqaHguBc00cllm304dY-8MMuIYxqosnZq5v9V2TiK-Q,9623
|
292
284
|
cjkcms/templates/cjkcms/pages/form_page_landing.html,sha256=zdySSHOWF10-x2MFLH9XMjeFSeNTMRM-VpvZ1tM8kw0,248
|
293
285
|
cjkcms/templates/cjkcms/pages/home_page.html,sha256=67h2o3EVXsrivMqM26OZV-7-H_9vv1clFJ4MFMknIMU,50
|
294
286
|
cjkcms/templates/cjkcms/pages/page.mini.html,sha256=VR3lTCUgHPXTd2HAlNrxQAmNjS_0VGzfQccUV5IeDXc,506
|
@@ -301,7 +293,7 @@ cjkcms/templates/cjkcms/snippets/bottom_corner_lang_selector.html,sha256=_gcHmob
|
|
301
293
|
cjkcms/templates/cjkcms/snippets/breadcrumbs.html,sha256=3flWNTJ568V4l9HTuYK5vZ7Mm6L1S0Qk8dKmQP0boDM,1342
|
302
294
|
cjkcms/templates/cjkcms/snippets/footer.html,sha256=_QUtV_LHgGjh-XLzw5Fd_Lxdrx9on5G0luFaa6oirB0,430
|
303
295
|
cjkcms/templates/cjkcms/snippets/frontend_assets.html,sha256=2q24FFzOiM2USJiI1tuNTdJZGvRQnMPjAwTA0AlGNiU,1656
|
304
|
-
cjkcms/templates/cjkcms/snippets/frontend_scripts.html,sha256=
|
296
|
+
cjkcms/templates/cjkcms/snippets/frontend_scripts.html,sha256=nuFJVFtucdTk04cLiyMh3pvFweq5TmLrEudDxQM0z3s,519
|
305
297
|
cjkcms/templates/cjkcms/snippets/navbar.html,sha256=3J9N2g1MVMyvAaQFbkNBYSwbXp8wpOQiHQabFY6PyTc,2879
|
306
298
|
cjkcms/templates/cjkcms/snippets/navbar_lang_selector.html,sha256=sn7KLDentGOsMZ9CNAxdAGLYO3a_mYfSUhJ6iZzteOE,836
|
307
299
|
cjkcms/templates/cjkcms/snippets/navbar_search.html,sha256=yV6xIWQ3_BdrTEPVp3j0WKqChPui7oC0Zl3C2fUrpes,1075
|
@@ -320,7 +312,7 @@ cjkcms/templates/wagtailadmin/shared/cr_main_nav_2fix.html,sha256=BAhkDE8_8KbhUO
|
|
320
312
|
cjkcms/templates/wagtailadmin/tables/thumbnail_cell.html,sha256=RzMT-tBnnDOgL-zexKanZTTpCEX1bMybFL2p_zvOEV4,578
|
321
313
|
cjkcms/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
322
314
|
cjkcms/templatetags/auth_extras.py,sha256=IIxQ5n9FaQVZmhW-yW1XM5p2OjIemtqVoX-O-UcCns8,327
|
323
|
-
cjkcms/templatetags/cjkcms_tags.py,sha256=
|
315
|
+
cjkcms/templatetags/cjkcms_tags.py,sha256=KkKQ0o1FMdIC3zPAu7rKcnT3aAlLWMxTUIkE7ehgUcg,10411
|
324
316
|
cjkcms/templatetags/friendly_loader.py,sha256=Zwopb9NNNN6IuDJCMFlwKuhmJC0hi4uTPEZSAxeakYY,4962
|
325
317
|
cjkcms/templatetags/gravatar.py,sha256=JG5MB6HUFso15J8gZ_te5FTMYAuo4km8rzMKKvLLh-E,1127
|
326
318
|
cjkcms/templatetags/txtutils_tags.py,sha256=UMojdiLt6Jpijc-2QLusPc-qXX9bqFZf0JbqqPsfnWQ,1223
|
@@ -341,18 +333,20 @@ cjkcms/tests/test_urls.py,sha256=otiKZcs1WLDQM6AOfcdZgsOGDwea1qS3VEc8Yy-FV-Q,288
|
|
341
333
|
cjkcms/tests/test_webpage.py,sha256=PvXeXbawigObsdi_YpQNuHFx3Lqi6wM3ktVHZsxYbr4,1520
|
342
334
|
cjkcms/tests/urls.py,sha256=_ksKz7HBHJtQK3HxC9cmJMX_dt6n4alx3FXjcL-cu28,850
|
343
335
|
cjkcms/tests/media/images/test.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
344
|
-
cjkcms/tests/media/images/
|
336
|
+
cjkcms/tests/media/images/test_6zOjMLi.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
337
|
+
cjkcms/tests/media/images/test_DqyysqG.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
345
338
|
cjkcms/tests/media/original_images/test.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
346
|
-
cjkcms/tests/media/original_images/
|
339
|
+
cjkcms/tests/media/original_images/test_6zOjMLi.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
340
|
+
cjkcms/tests/media/original_images/test_DqyysqG.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
347
341
|
cjkcms/tests/testapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
348
342
|
cjkcms/tests/testapp/apps.py,sha256=EwyrkWTu-_OoLoERBTlqkqfPIIrEsbHY3kbCxgrv_7I,169
|
349
343
|
cjkcms/tests/testapp/models.py,sha256=Rkn9KHrGbLzrKjP4y_gwtXma1_fJOZNU7ekb689fJEU,488
|
350
344
|
cjkcms/tests/testapp/migrations/0001_initial.py,sha256=hxr-r-42IQEGr_OsZkxXXCW7wbxAHuI_OLOkn-seJUU,4942
|
351
345
|
cjkcms/tests/testapp/migrations/0002_create_homepage.py,sha256=EfsxHh1oyqwahW9RVpTvaRDx_CHtFSJQahKEr7XC5Gg,1999
|
352
346
|
cjkcms/tests/testapp/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
353
|
-
wagtail_cjkcms-25.1.
|
354
|
-
wagtail_cjkcms-25.1.
|
355
|
-
wagtail_cjkcms-25.1.
|
356
|
-
wagtail_cjkcms-25.1.
|
357
|
-
wagtail_cjkcms-25.1.
|
358
|
-
wagtail_cjkcms-25.1.
|
347
|
+
wagtail_cjkcms-25.1.8.dist-info/LICENSE,sha256=KHsCh1fKOZzvcKe1a9h3FlDjTjK_UurO3wHK55TnHHo,1538
|
348
|
+
wagtail_cjkcms-25.1.8.dist-info/METADATA,sha256=mlYEW-pShDomQHvfO7PvvEvAAQMRE5LtT0My_BXJSYQ,3120
|
349
|
+
wagtail_cjkcms-25.1.8.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
|
350
|
+
wagtail_cjkcms-25.1.8.dist-info/entry_points.txt,sha256=FzoiFENdZ1uebNztyz6GlswkumQspd5VjWbR9MUIH_8,50
|
351
|
+
wagtail_cjkcms-25.1.8.dist-info/top_level.txt,sha256=8wJGOGo1pG5nO5akfcMzA7i3ndj5868I8w35vTT0JJM,7
|
352
|
+
wagtail_cjkcms-25.1.8.dist-info/RECORD,,
|
cjkcms/.DS_Store
DELETED
Binary file
|
cjkcms/static/.DS_Store
DELETED
Binary file
|
cjkcms/static/vendor/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
cjkcms/templates/.DS_Store
DELETED
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|