website updates

This commit is contained in:
Rushabh Mehta
2018-05-30 16:11:05 +05:30
parent 5a097372f5
commit 4a09e9c76e
31 changed files with 820 additions and 528 deletions

View File

@@ -0,0 +1,27 @@
{% extends "templates/web.html" %}
{% block title %}ERPNext Job Board{% endblock %}
{% block page_content %}
<section class='section-padding '>
<h1 class='text-center'>ERPNext Job Board</h1>
<p class='lead text-center mb-5'>
Looking for customization or implementation partners? Connect with the community by posting a Job.
</p>
{% for item in frappe.get_all("Portal Job", "title, creation, country, description, route",
{"show_in_website": 1}, order_by = "creation desc", limit=50) %}
<a href="{{ item.route }}" class='card mb-4'>
<div class="card-body">
<h5>
{{ item.title }}
</h5>
<div>{{ html2text(item.description)|truncate(240) }}</div>
<div class="text-muted mt-3">
{{ frappe.format_date(item.creation) }}
<span class='pull-right'>{{ item.country }}</span>
</div>
</div>
</a>
{% endfor %}
</section>
{% endblock %}