mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-17 02:10:45 +02:00
added apps, events etc
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
{% extends "templates/web.html" %}
|
||||
|
||||
{% from "foundation/templates/includes/macros.html" import media %}
|
||||
|
||||
{% block page_content %}
|
||||
<p><a href="/jobs">All ERPNext Jobs</a></p>
|
||||
<h1>{{ title }}</h1>
|
||||
{% if frappe.user == owner %}
|
||||
<p><a class='btn btn-primary btn-sm' href="/my-jobs?name={{ name }}">Edit Job</a></p>
|
||||
{% endif %}
|
||||
<br>
|
||||
<table class='table table-bordered small' style='max-width: 400px; margin-bottom: 0px;'>
|
||||
<tr>
|
||||
<td style='width: 38.2%'>Company Name</td>
|
||||
<td>{{ company_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Job Type</td>
|
||||
<td>{{ job_type }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Country</td>
|
||||
<td>{{ country }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3>Details</h3>
|
||||
<p>{{ description }}</p>
|
||||
<h3>Contact</h3>
|
||||
{% if is_member %}
|
||||
<table class='table table-bordered small' style='max-width: 400px; margin-bottom: 0px;'>
|
||||
<tr>
|
||||
<td style='width: 38.2%'>Email</td>
|
||||
<td>{{ owner }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Phone (optional)</td>
|
||||
<td>{{ contact_number }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{% else %}
|
||||
<p><a class='green-btn button' href="/membership">Become an ERPNext Foundation member to view contact details</a></p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@@ -1,52 +0,0 @@
|
||||
{% extends "templates/web.html" %}
|
||||
|
||||
{% from "foundation/templates/includes/macros.html" import media %}
|
||||
|
||||
{% block page_content %}
|
||||
<section>
|
||||
<h1 class="media-heading">{{ title }}</h1>
|
||||
<p><a href="/service-providers?country={{ country }}">
|
||||
All ERPNext Serivce Providers in {{ country }}</a></p>
|
||||
<div class="media" style="margin: 45px 0px; ">
|
||||
<div class="media-left">
|
||||
<a href="#">
|
||||
<img class="media-object"
|
||||
src="{{ image }}"
|
||||
style="width: 80px; height: 80px; max-width: 80px; ">
|
||||
</a>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
{{ introduction }}
|
||||
</div>
|
||||
</div>
|
||||
<table class='table table-bordered small' style='max-width: 400px; margin-bottom: 0px;'>
|
||||
<tr>
|
||||
<td style='width: 38.2%'>Country</td>
|
||||
<td>{{ country }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Address</td>
|
||||
<td>{{ address.replace('\n', '<br>') }}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<td>Phone</td>
|
||||
<td>{{ phone }}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<td>Email</td>
|
||||
<td><a href="mailto:{{ email }}" target="_blank">{{ email }}</a></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<td>Website</td>
|
||||
<td><a href="{{ website }}" target="_blank">{{ website }}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section>
|
||||
{{ details }}
|
||||
</section>
|
||||
<section>
|
||||
<p><a class='green-btn button' href="mailto:{{ email }}">Contact {{ title }}</a></p>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
@@ -1,5 +1,5 @@
|
||||
{% macro media(title, content, image, link) %}
|
||||
<div class="media foundation-media"
|
||||
<div class="media with-border {% if link %}clickable{% endif %}"
|
||||
{% if link %}style="cursor: pointer;"{% endif %}
|
||||
{% if link %}onclick="location.href='{{ link }}'"{% endif %}>
|
||||
<div class="media-left">
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<div style='margin-bottom: 30px; max-width: 600px;'>
|
||||
<a href="/{{ doc.route }}"><h3>{{ doc.title }}</h3></a>
|
||||
<p class='text-muted small'>{{ doc.place }} | {{ frappe.format_date(date) }}</p>
|
||||
<p>{{ html2text(doc.description[:200]) }}{% if doc.description|len > 200 %}...{% endif %}</p>
|
||||
</div>
|
||||
@@ -1,5 +0,0 @@
|
||||
<div style='margin-bottom: 30px; max-width: 600px;'>
|
||||
<a href="/{{ doc.route }}"><h3>{{ doc.title }}</h3></a>
|
||||
<p class='text-muted small'>{{ doc.country }} | {{ doc.job_type }}</p>
|
||||
<p>{{ html2text(doc.description[:200]) }}{% if doc.description|len > 200 %}...{% endif %}</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user