forked from GNUsocial/gnu-social
Correct formats for event list items
This commit is contained in:
parent
0e4029ecb6
commit
7e6cffe4cf
@ -55,8 +55,11 @@ class EventListItem extends NoticeListItemAdapter
|
|||||||
$this->nli->out->elementEnd('div');
|
$this->nli->out->elementEnd('div');
|
||||||
}
|
}
|
||||||
|
|
||||||
function showContent($notice, $out)
|
function showContent()
|
||||||
{
|
{
|
||||||
|
$notice = $this->nli->notice;
|
||||||
|
$out = $this->nli->out;
|
||||||
|
|
||||||
$profile = $notice->getProfile();
|
$profile = $notice->getProfile();
|
||||||
$event = Happening::fromNotice($notice);
|
$event = Happening::fromNotice($notice);
|
||||||
|
|
||||||
|
@ -55,8 +55,11 @@ class RSVPListItem extends NoticeListItemAdapter
|
|||||||
$this->nli->out->elementEnd('div');
|
$this->nli->out->elementEnd('div');
|
||||||
}
|
}
|
||||||
|
|
||||||
function showContent($notice, $out)
|
function showContent()
|
||||||
{
|
{
|
||||||
|
$notice = $this->nli->notice;
|
||||||
|
$out = $this->nli->out;
|
||||||
|
|
||||||
$rsvp = RSVP::fromNotice($notice);
|
$rsvp = RSVP::fromNotice($notice);
|
||||||
|
|
||||||
if (empty($rsvp)) {
|
if (empty($rsvp)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user