mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
fix portal job template
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<div class="card-body">
|
||||
<a href="/{{ doc.route }}"><h5 class="card-title">{{ doc.title }}</h5></a>
|
||||
<h6 class="card-subtitle mb-2 text-muted">{{ doc.country }}, {{ frappe.format_date(doc.creation) }} | {{ doc.job_type }}, {{ doc.status }}</h6>
|
||||
<p class="card-text">{{ html2text(doc.description)[:200] }}{% if doc.description|len > 200 %}...{% endif %}</p>
|
||||
<p class="card-text">{{ html2text(doc.description or
|
||||
"No Description")[:200] }}{% if doc.description|len > 200 %}...{% endif %}</p>
|
||||
<!-- <a href="/{{ doc.route }}" class="card-link">Details</a> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<h5>
|
||||
{{ item.title }}
|
||||
</h5>
|
||||
<div>{{ html2text(item.description)|truncate(240) }}</div>
|
||||
<div>{{ html2text(item.description or "No Description")|truncate(240) }}</div>
|
||||
<div class="text-muted mt-3">
|
||||
{{ frappe.format_date(item.creation) }}
|
||||
<span class='pull-right'>{{ item.country }}</span>
|
||||
|
||||
Reference in New Issue
Block a user