Merge branch 'develop' into get-distinct-records-from-backend
This commit is contained in:
commit
8b4e039436
3 changed files with 53 additions and 3001 deletions
|
|
@ -135,11 +135,13 @@ data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}"
|
|||
{% elif df.fieldtype=="Check" and doc[df.fieldname] %}
|
||||
<!-- <i class="{{ 'fa fa-check' }}"></i> -->
|
||||
<svg viewBox="0 0 16 16"
|
||||
fill="transparent" stroke="var(--icon-stroke)" stroke-width="2"
|
||||
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"/>
|
||||
</svg>
|
||||
{% elif df.fieldtype=="Check" and not doc[df.fieldname] %}
|
||||
<!-- empty -->
|
||||
{% elif df.fieldtype in ("Image", "Attach Image") and frappe.utils.is_image(doc[doc.meta.get_field(df.fieldname).options]) %}
|
||||
<img src="{{ doc[doc.meta.get_field(df.fieldname).options] }}"
|
||||
class="img-responsive"
|
||||
|
|
@ -178,7 +180,8 @@ data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}"
|
|||
{% macro get_align_class(df, no_of_cols=2) %}
|
||||
{% if no_of_cols >= 3 %}{{ "" }}
|
||||
{%- elif df.align -%}{{ "text-" + df.align }}
|
||||
{%- elif df.fieldtype in ("Int", "Float", "Currency", "Check", "Percent") -%}{{ "text-right" }}
|
||||
{%- elif df.fieldtype in ("Int", "Float", "Currency", "Percent") -%}{{ "text-right" }}
|
||||
{%- elif df.fieldtype in ("Check") -%}{{ "text-center" }}
|
||||
{%- else -%}{{ "" }}
|
||||
{%- endif -%}
|
||||
{% endmacro %}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
"qz-tray": "^2.0.8",
|
||||
"redis": "^3.1.1",
|
||||
"showdown": "^1.9.1",
|
||||
"snyk": "^1.667.0",
|
||||
"snyk": "^1.685.0",
|
||||
"socket.io": "^2.4.0",
|
||||
"superagent": "^3.8.2",
|
||||
"touch": "^3.1.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue