news.component.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <div class="noticias-container">
  2. <h2 class="h2-center"></h2>
  3. <ul class="noticias-painel">
  4. <li class="animate" ng-repeat="item in news">
  5. <div class="noticia" ng-click="open(item)">
  6. <div class="noticia-img">
  7. <img alt="" src="https://images.vexels.com/media/users/3/148174/isolated/preview/36028f4f9f896e3f7f1a221c565dc8a3-abstract-rounded-rectangle-background-by-vexels.png">
  8. </div>
  9. <div class="noticia-header-box">
  10. <div ng-if="item.post_date" class="publicado-em">Publicado
  11. <span am-time-ago="item.post_date | amParse:'YYYY-MM-DDTHH:mm:ss'"></span>
  12. </div>
  13. <div class="noticia-h3 block-with-text">
  14. {{item.title}}
  15. </div>
  16. </div>
  17. <ul class="tags">
  18. <li ng-repeat="tag in item.tags">{{tag.name}}</li>
  19. </ul>
  20. <ul class="noticia-actions">
  21. <li> <i class="material-icons">account_circle</i></li>
  22. <li>
  23. <!-- <div>{{item.author.name}}</div> -->
  24. <!-- <div class="">{{item.author.email}}</div> -->
  25. </li>
  26. <li>
  27. <object ng-if="item.status=='published'"><a href=""><i class="material-icons">public</i></a></object>
  28. <object><a href="#"><i class="material-icons">edit</i></a></object>
  29. </li>
  30. </ul>
  31. </div>
  32. </li>
  33. </ul>
  34. </div>