mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 08:35:45 -04:00
Added to show on New Board/New Channel feed last updated time
Added to show on New Board/New Channel feed last updated time
This commit is contained in:
parent
a0de2e76db
commit
c518fd0e42
4 changed files with 53 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "gui/common/FilesDefs.h"
|
||||
#include "gui/NewsFeed.h"
|
||||
#include "gui/RetroShareLink.h"
|
||||
#include "util/DateTime.h"
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
|
@ -166,6 +167,11 @@ void GxsChannelGroupItem::fill()
|
|||
break ;
|
||||
}
|
||||
|
||||
if(mGroup.mMeta.mLastPost==0)
|
||||
ui->infoLastPost->setText(tr("Never"));
|
||||
else
|
||||
ui->infoLastPost->setText(DateTime::formatLongDateTime(mGroup.mMeta.mLastPost));
|
||||
|
||||
if (mIsHome)
|
||||
{
|
||||
/* disable buttons */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue