mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-30 07:47:46 +02:00
#25: Notification texts are simple plaintext for now.
This commit is contained in:
parent
d44cd83e11
commit
3b3863f030
1 changed files with 3 additions and 3 deletions
|
@ -177,10 +177,10 @@ class Activity extends Model {
|
||||||
throw new \InvalidArgumentException('This type of activity has not been implemented yet!');
|
throw new \InvalidArgumentException('This type of activity has not been implemented yet!');
|
||||||
|
|
||||||
case static::TYPE_PUBLISHED_TRACK:
|
case static::TYPE_PUBLISHED_TRACK:
|
||||||
return "{$this->resource->user->display_name} published a new track, __{$this->resource->title}__!";
|
return "{$this->resource->user->display_name} published a new track, {$this->resource->title}!";
|
||||||
|
|
||||||
case static::TYPE_PUBLISHED_PLAYLIST:
|
case static::TYPE_PUBLISHED_PLAYLIST:
|
||||||
return "{$this->resource->user->display_name} published a new playlist, __{$this->resource->title}__!";
|
return "{$this->resource->user->display_name} published a new playlist, {$this->resource->title}!";
|
||||||
|
|
||||||
case static::TYPE_NEW_FOLLOWER:
|
case static::TYPE_NEW_FOLLOWER:
|
||||||
return "{$this->initiatingUser->display_name} is now following you!";
|
return "{$this->initiatingUser->display_name} is now following you!";
|
||||||
|
@ -192,7 +192,7 @@ class Activity extends Model {
|
||||||
|
|
||||||
// Must be a content comment.
|
// Must be a content comment.
|
||||||
} else {
|
} else {
|
||||||
return "{$this->initiatingUser->display_name} left a comment on your {$this->resource->resource->getResourceType()}, __{$this->resource->resource->title}__!";
|
return "{$this->initiatingUser->display_name} left a comment on your {$this->resource->resource->getResourceType()}, {$this->resource->resource->title}!";
|
||||||
}
|
}
|
||||||
|
|
||||||
case static::TYPE_CONTENT_FAVOURITED:
|
case static::TYPE_CONTENT_FAVOURITED:
|
||||||
|
|
Loading…
Add table
Reference in a new issue