Fixed bug with displaying icon for the notes without one set.

This commit is contained in:
kplaczek
2018-04-22 18:45:19 +02:00
parent 6f29248e8b
commit 2f55d8491a

View File

@@ -57,7 +57,7 @@
</div>
<div class="content">
<a href="/edit/{{ $note->id }}/{{ $note->topic_slug?$note->topic_slug:str_limit($note->text, 30, '...') }}"><span
class="icon {{ $note->icon }} "
class="icon @if($note->icon){{ $note->icon }} @else empty @endif "
title="{{ $note->icon }}"></span>{{ $note->topic?$note->topic:str_limit($note->text, 30, '...') }}
</a>
</div>