Skip to content

Commit

Permalink
changing format of comment title in timeline rss
Browse files Browse the repository at this point in the history
  • Loading branch information
gwoo committed Jan 6, 2010
1 parent bc9fef0 commit 4a0334a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/timeline/rss/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ foreach ($timeline as $data) {
if (!empty($data['Comment']['reason'])) {
$status = $data['Comment']['reason'];
}
$status = Inflector::humanize($status);
$type = strtoupper(Inflector::humanize($data['Ticket']['type']));
$title = "{$status} > {$type} > {$data['Ticket']['title']}";
$title = "Comment/{$status}/{$type}/{$data['Ticket']['title']}";
$link = array(
'controller' => 'tickets', 'action' => 'view', $data['Ticket']['number'],
'#' => 'c'.$data['Comment']['id']
Expand Down

0 comments on commit 4a0334a

Please sign in to comment.