Browse Source
- Display the comments on the microblog posts
- Display the comments on the microblog posts
- Optimize the roster loading performance (img src) - Fix the Contact templete paddingpull/16/head
12 changed files with 80 additions and 21 deletions
-
6app/models/postn/PostnDAO.php
-
2app/views/contact.tpl
-
5app/widgets/Contact/_contact.tpl
-
4app/widgets/Contact/_contact_edit.tpl
-
31app/widgets/Post/Post.php
-
5app/widgets/Post/_post.tpl
-
15app/widgets/Post/_post_comments.tpl
-
1app/widgets/Post/locales.ini
-
14app/widgets/Roster/roster.js
-
11app/widgets/Roster/roster.tpl
-
6linker.php
-
1themes/material/css/list.css
@ -0,0 +1,15 @@ |
|||
<ul class="divided middle"> |
|||
<li class="subheader">{$c->__('post.comments')}</li> |
|||
{loop="$comments"} |
|||
<li class="condensed"> |
|||
<span class="icon bubble"> |
|||
<img src="{$value->getContact()->getPhoto('xs', $value->aid)}"/> |
|||
</span> |
|||
<span class="info">{$value->published|strtotime|prepareDate}</span> |
|||
<span>{$value->getContact()->getTrueName()}</span> |
|||
<p> |
|||
{$value->content} |
|||
</p> |
|||
</li> |
|||
{/loop} |
|||
</ul> |
|||
@ -1,2 +1,3 @@ |
|||
post.news_feed = 'News Feed' |
|||
post.comments = 'Comments' |
|||
post.placeholder = 'Discover and register to the groups you are interested in' |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue