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