Skip to content

Commit

Permalink
Include the view url in the alarm notification.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Dec 2, 2013
1 parent 3df8b9c commit 45bb683
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kronolith/lib/Event.php
Expand Up @@ -2096,6 +2096,7 @@ public function toAlarm($time, $user = null, $prefs = null)
} else {
$methods['desktop']['subtitle'] = sprintf(_("From %s at %s to %s at %s"), $this->start->strftime($prefs->getValue('date_format')), $this->start->format($prefs->getValue('twentyFour') ? 'H:i' : 'h:ia'), $this->end->strftime($prefs->getValue('date_format')), $this->end->format($prefs->getValue('twentyFour') ? 'H:i' : 'h:ia'));
}
$methods['desktop']['url'] = strval($this->getViewUrl(array(), true, false));
}
$alarm = array(
'id' => $this->uid,
Expand Down

0 comments on commit 45bb683

Please sign in to comment.