File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ /*
3+ * File: message_table.blade.php
4+ * Category: View
5+ * Author: M.Goldenbaum
6+ * Created: 15.09.18 19:53
7+ * Updated: -
8+ *
9+ * Description:
10+ * -
11+ */
12+
13+ /**
14+ * @var \Webklex\IMAP\Support\MessageCollection $paginator
15+ * @var \Webklex\IMAP\Message $oMessage
16+ */
17+
18+ ? >
19+ <table >
20+ <thead >
21+ <tr >
22+ <th >UID</th >
23+ <th >Subject</th >
24+ <th >From</th >
25+ <th >Attachments</th >
26+ </tr >
27+ </thead >
28+ <tbody >
29+ @if ($paginator -> count () > 0 )
30+ @foreach ($paginator as $oMessage )
31+ <tr >
32+ <td >{{ $oMessage -> getUid ()} } </td >
33+ <td >{{ $oMessage -> getSubject ()} } </td >
34+ <td >{{ $oMessage -> getFrom ()[0 ]-> mail } } </td >
35+ <td >{{ $oMessage -> getAttachments ()-> count () > 0 ? ' yes' : ' no' } } </td >
36+ </tr >
37+ @endforeach
38+ @else
39+ <tr >
40+ <td colspan =" 4" >No messages found</td >
41+ </tr >
42+ @endif
43+ </tbody >
44+ </table >
45+
46+ {{ $paginator -> links ()} }
You can’t perform that action at this time.
0 commit comments