From 7d742cbe22fb96f81c13cf654ccc7fabbd53c50c Mon Sep 17 00:00:00 2001 From: Jeremy Rangel Date: Fri, 31 Jan 2025 19:25:43 -0800 Subject: [PATCH] Changes to web templates promo tab --- .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 208 bytes .../__pycache__/hooks.cpython-313.pyc | Bin 0 -> 1332 bytes .../web_template_promo_tabs_section_1.json | 30 ++++-------------- .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 197 bytes 4 files changed, 6 insertions(+), 24 deletions(-) create mode 100644 rangeldigital/__pycache__/__init__.cpython-313.pyc create mode 100644 rangeldigital/__pycache__/hooks.cpython-313.pyc create mode 100644 rangeldigital/rangel_digital/__pycache__/__init__.cpython-313.pyc diff --git a/rangeldigital/__pycache__/__init__.cpython-313.pyc b/rangeldigital/__pycache__/__init__.cpython-313.pyc new file mode 100644 index 0000000000000000000000000000000000000000..78506c52b69fc347e5f90902c55ff085754b2da1 GIT binary patch literal 208 zcmey&%ge<80!eey#emdfFb7I7Lg~*OK*m&tV1^=wbVg04DpmtM13g1OO~zZ?@$qG; zMa7xG+5616x-8+)3pyY`x$4QX;R zXU^Ps0p2L`l^2NG7hwGpwLv(w}}7V*aQ(I z+G~XEBHAct4A4@``Qr@~qwaYI^=^Usatr}v=s`J3RdAe#w_zlt0g<`2!*Xi^Fj57g z-!ih-m>>V2_0jgfPC(51FRYi=Gb^B><>UNmDIM`B0Yx^PgnUrD)sJ8Q1W1N*>Os5l)WV3w0VcbJ%`ZS)V=BH6qJvjdb>%DMA0B50VMTw zC8=bPG}C1?88V7v5Q&+J9;l>gBqbe zF}HLR$V?Xs9QgQKyGnm5$*KJXL8u1Juc+-%322|Go{FHD`a=lav8^=!UgY&_J?8uz zt!S3iUI*NpFnA;GDi^wX@uM1+6mIG1|s=Q<%!&Ul;}2&;S4c literal 0 HcmV?d00001 diff --git a/rangeldigital/fixtures/web_template_promo_tabs_section_1.json b/rangeldigital/fixtures/web_template_promo_tabs_section_1.json index 2bfe049..d9a6391 100644 --- a/rangeldigital/fixtures/web_template_promo_tabs_section_1.json +++ b/rangeldigital/fixtures/web_template_promo_tabs_section_1.json @@ -31,7 +31,7 @@ { "fieldname": "tab_icon", "fieldtype": "Attach Image", - "label": "Tab Image", + "label": "Tab Icon", "reqd": 0 }, { @@ -47,33 +47,15 @@ "reqd": 0 }, { - "fieldname": "tab_content_sub_heading", + "fieldname": "tab_sub_heading", "fieldtype": "Data", - "label": "Tab Content Sub-Heading", + "label": "Tab Sub-Heading", "reqd": 0 }, { - "fieldname": "tab_content_image", + "fieldname": "tab_image", "fieldtype": "Attach Image", - "label": "Tab Content Image", - "reqd": 0 - }, - { - "fieldname": "tab_cta_text", - "fieldtype": "Data", - "label": "Tab CTA Text", - "reqd": 0 - }, - { - "fieldname": "tab_content_html", - "fieldtype": "data", - "label": "Tab Content HTML", - "reqd": 0 - }, - { - "fieldname": "tab_cta_url", - "fieldtype": "Data", - "label": "Tab CTA URL", + "label": "Tab Image", "reqd": 0 } ], @@ -84,6 +66,6 @@ "name": "Promo Tabs Section - 1", "owner": "Administrator", "standard": 0, - "template": "
\n
\n
\n
\n
\n {% for tab in tabs %}\n {% if loop.index == 1 %}\n
\n \"\"\n
\n {% else %}\n
\n \"\"\n
\n {% endif %}\n {% endfor %}\n\n
\n
\n
\n
\n
\n

Why Choose Picmate

\n

has more image rendering options than you'll ever need. Focus on the things\n that really matter to your users business.

\n
\n
    \n {% for tab in tabs %}\n {% if loop.index == 1 %}\n
  • \n
    \n \"\"\n
    \n
    Responsive Screenshots
    \n

    Screenshot your website at different widths and heights to simulate\n different devices and situations.

    \n
    \n
    \n
    \n
    \n
    \n
  • \n {% else %}\n
  • \n
    \n \"\"\n
    \n
    Full Page Screenshots
    \n

    Go beyond the limits of a browser's viewport and capture everything in an\n HTML document.

    \n
    \n
    \n
    \n
    \n
    \n
  • \n {% endif %}\n {% endfor %}\n
\n
\n
\n
\n
\n
" + "template": "
\n
\n
\n
\n
\n {% for tab in tabs %}{% if loop.index == 1 %}
\n \"\"\n
\n {% else %}\n
\n \"\"\n
\n {% endif %}\n {% endfor %}\n\n
\n
\n
\n
\n
\n

Why Choose Picmate

\n

has more image rendering options than you'll ever need. Focus on the things\n that really matter to your users business.

\n
\n
    \n {% for tab in tabs %}\n {% if loop.index == 1 %}\n
  • \n \n
  • \n {% else %}\n
  • \n
    \n \"\"\n
    \n
    {{ tab.tab_heading }}
    \n

    {{ tab.tab_sub_heading }}

    \n
    \n
    \n
    \n
    \n
    \n
  • \n {% endif %}\n {% endfor %}\n
\n
\n
\n
\n
\n
" , "type": "Component" } \ No newline at end of file diff --git a/rangeldigital/rangel_digital/__pycache__/__init__.cpython-313.pyc b/rangeldigital/rangel_digital/__pycache__/__init__.cpython-313.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f79ee2a7cd14f7103339931939c59a51506043a1 GIT binary patch literal 197 zcmey&%ge<80!eeyLDXXq0RxOs#%C5FV=6;BgC?WjN`@jPAn!9s>Q;(=XmM&$v3^!j zVqSV`j(%`vNouivT2W#_K`NBeO-jv6&d>*n6zfA&rDUdOmL%q2<;BA!