About Us Page picks people from team_members

This commit is contained in:
Revant Nandgaonkar
2017-12-17 15:04:53 +05:30
parent 3c5539d61e
commit 10312ebcfc
4 changed files with 59 additions and 20 deletions

View File

@@ -0,0 +1,40 @@
[
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "About Us Team Member",
"fieldname": "avatar",
"fieldtype": "Data",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"insert_after": "full_name",
"label": "Avatar",
"modified": "2017-12-17 14:47:48.972431",
"name": "About Us Team Member-avatar",
"no_copy": 0,
"options": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"unique": 0,
"width": null
}
]

View File

@@ -152,3 +152,11 @@ scheduler_events = {
# "frappe.desk.doctype.event.event.get_events": "foundation.event.get_events"
# }
fixtures = [
{
"dt": "Custom Field",
"filters": [["name", "in",
["About Us Team Member-avatar"]
]]
}
]

View File

@@ -6,29 +6,13 @@
{% block page_content %}
<section>
<link href="https://fonts.googleapis.com/css?family=Yellowtail" rel="stylesheet">
<h1>About ERPNext Foundation</h1>
<p class='lead'>Community of ERPNext Users, Developers and Service Providers</p>
</section>
<section>
<div style="font-family: 'Yellowtail', cursive; font-size: 25px;">“ BE and BE Recognized as The Best Open Source ERP Product in The World.”</div>
<h3>Goals</h3>
<p>The goal of the ERPNext Foundation is to provide a platform for the ERPNext Community to come together, join hands and build assets to help build and enhance ERPNext around the world. ERPNext Foundation aims to be a community driven organization and run in a transparent.
</p>
<p>If you want to be more involved in the ERPNext Community, read the <a href="/faq">FAQ</a></p>
{{ doc.company_introduction }}
</section>
<section>
<h3>People</h3>
{{ media("Jay Ram, CEO",
"Jay is a Mechanical Engineer with an MBA (PGDM) from IIM, Bangalore and has worked in Information Security and Risk areas for large enterprises. He is passionate about helping small and medium businesses overcome thier challenges to grow and thinks ERPNext and his skills and interests are a perfect alignment for what what he wants to do with the rest of his life. In his spare time he plays golf, rides (Bicycling and motorbiking) and travels and would like to combine all his interests on his trips - ERPNext, riding and golf.",
"https://discuss.erpnext.com/user_avatar/discuss.erpnext.com/jayram/240/6872_1.png") }}
{{ media("Rushabh Mehta, Director", "Rushabh is the CEO of Frappé Technologies Private Limited and one of the original creators of Frappé Framework and ERPNext. He built ERPNext for his family's business and then later published it as an open source project. Rushabh is an Industrial Engineer by training but a software developer by profession. In his free time, he likes to read and spend time relaxing at home.",
"https://discuss.erpnext.com/user_avatar/discuss.erpnext.com/rmehta/240/4147_1.png") }}
{{ media("Nabin Hait, Director", "Nabin is the Chief Operating Officer of Frappé Technologies Private Limited and the lead developer at ERPNext. Nabin is responsible for managing the ERPNext project and managing the team at Frappé. Nabin is a great cook and likes cooking and watching movies in his free time.",
"https://discuss.erpnext.com/user_avatar/discuss.erpnext.com/nabinhait/240/7_1.png") }}
{{ media("Prakash Hodage, Administrative Officer", "Prakash is the accountant and administrative officer of Frappé Technologies Private Limited. He is the person responsible for getting the foundation registered. Prakash has extensive experience in managing accounting and administration and is an expert ERPNext user, also handling user support from time to time. In his free time, Prakash loves to read and help people around him.",
"https://discuss.erpnext.com/user_avatar/discuss.erpnext.com/prakash/240/2703_1.png") }}
{% for member in doc.team_members %}
{{ media(member.full_name, member.bio, member.image_link or member.avatar) }}
{% endfor %}
<p><a href="/contact">Want to talk to someone in the foundation? Get in touch</a></p>
</section>

7
foundation/www/about.py Normal file
View File

@@ -0,0 +1,7 @@
# See license.txt
from __future__ import unicode_literals
import frappe
def get_context(context):
return { "doc": frappe.get_doc("About Us Settings", "About Us Settings") }