Added Student Admissions (#6359)

* Added Student Admissions

* Fixes for Student Application
This commit is contained in:
Neil Trini Lasrado
2016-09-15 14:48:13 +05:30
committed by Rushabh Mehta
parent 33d18dbc9a
commit 83d81203b2
14 changed files with 722 additions and 12 deletions

View File

@@ -0,0 +1,49 @@
{% extends "templates/web.html" %}
{% block breadcrumbs %}
{% include "templates/includes/breadcrumbs.html" %}
{% endblock %}
{% block header %}
<h1>{{ program }}</h1>
{% endblock %}
{% block page_content %}
{%- if introduction -%}
<div>{{ introduction }}</div>
{% endif %}
{%- if eligibility -%}
<h3> Eligibility </h3>
<div>{{ eligibility }}</div>
{% endif %}
<table class="table table-bordered" style="margin-top: 20px; width: 30%">
<tr>
<th> Academic Year</th>
<td>{{ academic_year }} </td>
</tr>
<tr>
<th> Admission Start Date</th>
<td>{{ frappe.utils.formatdate(admission_start_date) }}</td>
</tr>
<tr>
<th> Admission End Date</th>
<td>{{ frappe.utils.formatdate(admission_end_date) }}</td>
</tr>
<tr>
<th> Application Fee</th>
<td>{{ frappe.utils.fmt_money(application_fee, 2, currency) }}</td>
</tr>
</table>
<p>
<a class='btn btn-primary'
href='/student-applicant?program={{ doc.program }}&academic_year={{ doc.academic_year }}&new=1'>
{{ _("Apply Now") }}</a>
</p>
{% endblock %}