fix: typo in jinja2 templates (#22353)

This commit is contained in:
Psyi Rius 2023-09-12 09:43:17 +05:30 committed by GitHub
parent 045d35b89e
commit c3db5fca23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 9 deletions

View file

@ -1,2 +1,2 @@
<input type="text" autocomplete="off" class="search-field" data-fieldtype="Text"
data-fieldname="feedback_comments" placeholder="Search {{ title }}" spellcheck="false"></input>
data-fieldname="feedback_comments" placeholder="Search {{ title }}" spellcheck="false">

View file

@ -43,7 +43,7 @@
</td>
{% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>

View file

@ -1,6 +1,6 @@
<p>{{_("Dear User,")}}</p>
<p>{{_("We have received a request for deletion of {0} data associated with: {1}").format(host_name, email)}}.</p>
<p>{{_("This will permanently remove your data.")}}</b>
<p>{{_("This will permanently remove your data.")}}</p>
<p>{{_("Click on the link below to verify your request")}}.</p>
<p style="margin: 30px 0px;">

View file

@ -6,7 +6,6 @@
class="avatar-frame standard-image"
src="{{ image or user_info.image }}"
title="{{ full_name or user_info.name }}">
</span>
{% else %}
<span
class="avatar-frame standard-image"

View file

@ -6,7 +6,7 @@
{% set count = (parents | length) + 1 %}
{% for parent in parents %}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" class="breadcrumb-item">
<a itemprop="item" href="{{ url_prefix }}{{ parent.route | abs_url }}" itemprop="url">
<a itemprop="item" href="{{ url_prefix }}{{ parent.route | abs_url }}">
<span itemprop="name">{{ parent.title or parent.label or parent.name or "" }}</span>
<meta itemprop="position" content="{{ loop.index }}" />
</a>

View file

@ -2,7 +2,7 @@
{%- for name in metatags %}
{%- set content = metatags.get(name, '') -%}
{%- if content -%}
<meta {% if name.startswith('og:') %}property="{{ name }}"{% else %}name="{{ name }}"{% endif %} content="{{ content | striptags | escape }}">
<meta {% if name.startswith('og:') %}property="{{ name }}" {% else %}name="{{ name }}"{% endif %} content="{{ content | striptags | escape }}">
{%- endif -%}
{%- endfor -%}
{%- endif -%}

View file

@ -20,7 +20,7 @@
{{- frappe.format(row[col.fieldname], col, row) -}}
</td>
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</table>

View file

@ -138,7 +138,7 @@ data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}"
fill="transparent" stroke="#1F272E" stroke-width="2"
xmlns="http://www.w3.org/2000/svg" id="icon-tick"
style="width: 12px; height: 12px; margin-top: 5px;">
<path d="M2 9.66667L5.33333 13L14 3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M2 9.66667L5.33333 13L14 3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
{% elif df.fieldtype=="Check" and not doc[df.fieldname] %}
<!-- empty -->