mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-17 02:10:45 +02:00
more stuff
This commit is contained in:
0
foundation/templates/generators/portal_event.html
Normal file
0
foundation/templates/generators/portal_event.html
Normal file
@@ -1,6 +1,6 @@
|
||||
{% macro media(title, content, image, link) %}
|
||||
<div class="media"
|
||||
style="margin: 45px 0px; {% if link %}cursor: pointer;{% endif %}"
|
||||
<div class="media foundation-media"
|
||||
{% if link %}style="cursor: pointer;"{% endif %}
|
||||
{% if link %}onclick="location.href='{{ link }}'"{% endif %}>
|
||||
<div class="media-left">
|
||||
<a href="{{ link or "#" }}">
|
||||
|
||||
5
foundation/templates/includes/portal_event.html
Normal file
5
foundation/templates/includes/portal_event.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user