Calendar added

This commit is contained in:
mischa.spelt committed 2017-08-02 23:58:49 +02:00
1 parent 9201c50812
commit 4f3490367f
6 files changed
+70 -148

No files matched your search

-4
View File
@@ -63,10 +63,6 @@ class NewsItem extends Model {
$this->url = "/nieuws/{$this->id}/" . parent::url_slug($this->title);
}
public function detailsUrl() {
return "/{$this->id}/" . urlencode($this->title);
}
public function excerpt() {
$hasImages = count($this->images) > 0;
$maxLength = $hasImages ? 200 : 500;