From kde-commits Fri Apr 06 13:09:52 2012 From: Ingo Malchow Date: Fri, 06 Apr 2012 13:09:52 +0000 To: kde-commits Subject: www/media/includes/classes Message-Id: <20120406130952.69CE0AC89A () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=133371793932351 SVN commit 1288467 by imalchow: update git repo display for pko M +12 -1 class_appdata.inc --- trunk/www/media/includes/classes/class_appdata.inc #1288466:1288467 @@ -201,10 +201,21 @@ if ($this->data['repository'][0] == 'svn') { return '

Browse '.$this->name().' source code on WebSVN

'; } else if($this->data['repository'][0] == 'git') { - return '

Browse '.$this->name().' source code on Git

'; + $path = '

data['repository'][1]) && $this->data['repository'][1] != '') { + $path .= $this->data['repository'][1]; + } else { return ''; } + $path .= '/repository">Browse '.$this->name().' source code on Git

'; + return $path; + } + return ''; + } function checkoutSourcesHtml() { if ($this->data['repository'][0] == 'svn') {