You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.7 KiB

13 years ago
  1. <div class="tabelem divided" title="{$c->__('page.feed')}" id="blog" >
  2. <ul class="thick">
  3. <li class="action">
  4. <div class="action">
  5. <a
  6. href="{$c->route('feed', array($contact->jid, 'urn:xmpp:microblog:0'))}"
  7. target="_blank"
  8. >
  9. <i class="md md-wifi-tethering"></i> Atom
  10. </a>
  11. </div>
  12. <span class="icon gray">
  13. <i class="md md-edit"></i>
  14. </span>
  15. <span>
  16. <h2>{$c->__('blog.title', $contact->getTrueName())}</h2>
  17. </span>
  18. </li>
  19. </ul>
  20. {loop="$posts"}
  21. <article>
  22. <header>
  23. <ul class="thick">
  24. <li class="condensed">
  25. <span class="icon bubble">
  26. <img src="{$value->getContact()->getPhoto('s')}">
  27. </span>
  28. <h2>
  29. {if="$value->title != null"}
  30. {$value->title}
  31. {else}
  32. {$c->__('post.default_title')}
  33. {/if}
  34. </h2>
  35. <p>
  36. {if="$value->node == 'urn:xmpp:microblog:0'"}
  37. {$value->getContact()->getTrueName()} -
  38. {/if}
  39. {$value->published|strtotime|prepareDate}
  40. </p>
  41. </li>
  42. </ul>
  43. </header>
  44. <section>
  45. {$value->contentcleaned}
  46. </section>
  47. </article>
  48. {/loop}
  49. </div>