seen.blade.php 899 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @extends('hello')
  2. @section('content')
  3. <div class="page-header"><h1>Gesehen</h1></div>
  4. {{ $filme->links() }}
  5. <table class="table">
  6. <tr>
  7. <th>Titel</th>
  8. <th>Gesehen am</th>
  9. <th>Vorgeschlagen von</th>
  10. <th>Kommentare</th>
  11. </tr>
  12. @foreach($filme as $film)
  13. <tr>
  14. <td>{{ HTML::link('film/' . $film->id, $film->name) }}</td>
  15. <td>{{ \Carbon\Carbon::parse($film->gesehen)->format('d.m.Y')}}</td>
  16. <td><span class="badge">
  17. <img class="img-circle" src="{{ $film->besitzer->getAvatar() }}" width="20"> {{$film->besitzer->name}}
  18. </span></td>
  19. <td><span class="glyphicon glyphicon-comment"></span> {{ $film->comments()->count()}}</td>
  20. </tr>
  21. @endforeach
  22. </table>
  23. {{ $filme->links() }}
  24. @stop
  25. @section('title')
  26. Gesehen ~
  27. @stop
  28. @section('script')
  29. <script type="text/javascript">
  30. $(function() {
  31. $('.tooltip-enable').tooltip({ html: true, placement: "bottom" });
  32. });
  33. </script>
  34. @stop