| 1 | {@ include(common/header) @} |
| 2 | <section class="comments"> |
| 3 | <h1>通知</h1> |
| 4 | {@ if (empty($list)) @} |
| 5 | <p class="comment-none">通知はありません。</p> |
| 6 | {@ endif @} |
| 7 | {@ foreach ($list as $n) @} |
| 8 | <div class="notification{{ $n['read'] ? '' : ' unread' }}"> |
| 9 | <img class="comment-avatar" src="{{ $n['who']['avatar'] }}" alt="" width="32" height="32" loading="lazy" /> |
| 10 | <div> |
| 11 | <span class="comment-name">{{{ $n['who']['name'] }}}</span>{{ $n['label'] }} <span class="comment-date">{{ $n['at'] }}</span><br /> |
| 12 | <a href="{{ $n['page'] }}">{{ $n['excerpt'] }}</a> |
| 13 | </div> |
| 14 | </div> |
| 15 | {@ endforeach @} |
| 16 | </section> |
| 17 | {@ include(common/footer) @} |