[layout] job listing

This commit is contained in:
Prateeksha Singh
2018-04-26 18:49:15 +05:30
parent 4a6aaccefc
commit c306bf53b8

View File

@@ -1,11 +1,8 @@
<div class='mb-4 col-xs-12 col-sm-12'> <div class="card mx-3" style="width: 100%; margin-bottom: 1rem;">
<h3>{{ doc.title }}</h3> <div class="card-body">
<p> <a href="/{{ doc.route }}"><h5 class="card-title">{{ doc.title }}</h5></a>
<span class='label'>{{ frappe.format_date(doc.creation) }}</span> <h6 class="card-subtitle mb-2 text-muted">{{ doc.country }}, {{ frappe.format_date(doc.creation) }} | {{ doc.job_type }}, {{ doc.status }}</h6>
<span class='label'>{{ doc.country }}</span> <p class="card-text">{{ html2text(doc.description)[:200] }}{% if doc.description|len > 200 %}...{% endif %}</p>
<span class='label'>{{ doc.job_type }}</span> <!-- <a href="/{{ doc.route }}" class="card-link">Details</a> -->
<span class='label'>{{ doc.status }}</span> </div>
</p>
<p>{{ html2text(doc.description)[:200] }}{% if doc.description|len > 200 %}...{% endif %}</p>
<a href="/{{ doc.route }}">Read More Details</a>
</div> </div>