Skip to content

Commit

Permalink
Merge pull request #420 from joomla/419
Browse files Browse the repository at this point in the history
Include link to local application instance in comment "signature"
  • Loading branch information
b2z committed Aug 15, 2014
2 parents c5b3e42 + 63a1d4d commit cbc146e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/App/Tracker/Controller/Comment/Ajax/Submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ protected function prepareResponse()

// @todo removeMe :(
$comment .= sprintf(
'<br />*You may blame the <a href="%1$s">%2$s Application</a> for transmitting this comment.*',
'https://github.com/joomla/jissues', 'J!Tracker'
'<br />*You may blame the <a href="%1$s">%2$s Application</a> at <a href="%3$s">%4$s</a> for transmitting this comment.*',
'https://github.com/joomla/jissues', 'J!Tracker',
$this->getContainer()->get('app')->get('uri')->base->full,
$this->getContainer()->get('app')->get('uri')->base->full
);

$project = $this->getContainer()->get('app')->getProject();
Expand Down

0 comments on commit cbc146e

Please sign in to comment.