minor tweaks

This commit is contained in:
Raghavendra Kamath
2018-02-21 10:47:19 +05:30
parent b9b0395927
commit 0507bca6db
9 changed files with 85 additions and 25 deletions

View File

@@ -32,7 +32,7 @@
<img class="domain-image" src="/assets/foundation/img/distribution.svg"><span>Distribution</span></a>
</li>
<li class="list-items">
<a class="primary-links domain-links" href="/docs/user/manual/en/schools">
<a class="primary-links domain-links" href="/docs/user/manual/en/education">
<img class="domain-image" src="/assets/foundation/img/education.svg"><span>Education</span></a>
</li>
<li class="list-items">
@@ -65,7 +65,8 @@
<div class="columns">
<h1 class="subtitle">Events & Meetups</h1>
<ul class="bulleted-list list-circle">
{% for e in events %}
{# get first three events from portal events doctype #}
{% for e in events[:3] %}
<li>
<a href="{{ e.route }}" class="secondary-link">{{ frappe.format_date(e.event_date, "medium") }} - {{ e.event_title }}</a>
</li>