mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
[minor] fixed TypeError: 'NoneType' object has no attribute '__getitem__'
This commit is contained in:
@@ -34,8 +34,8 @@
|
|||||||
{% macro show_member(s) %}
|
{% macro show_member(s) %}
|
||||||
<div class='col-sm-4' style='height: 130px; padding-bottom: 30px'>
|
<div class='col-sm-4' style='height: 130px; padding-bottom: 30px'>
|
||||||
<p>
|
<p>
|
||||||
<a class='bold' href="/{{ s.route }}">{{ s.title[:25] }}</a><br>
|
<a class='bold' href="/{{ s.route }}">{{ s.title and s.title[:25] }}</a><br>
|
||||||
{{ s.introduction[:100] }}
|
{{ s.introduction and s.introduction[:100] }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|||||||
Reference in New Issue
Block a user