This commit is contained in:
cornernote 2015-08-11 15:57:23 +09:30
parent 034e42ab08
commit 3c66a0b703
2 changed files with 10 additions and 2 deletions

View File

@ -53,4 +53,12 @@ heroku logs --tail
More info:
https://devcenter.heroku.com/articles/getting-started-with-php
https://devcenter.heroku.com/articles/getting-started-with-php
## Resources
* [Homepage](https://minetest-bower.herokuapp.com/)
* [Project](https://github.com/cornernote/minetest-bower)
* [Forum](https://forum.minetest.net/viewtopic.php?t=13012)
* [Support](https://github.com/cornernote/minetest-bower/issues)

View File

@ -382,10 +382,10 @@ class Package extends ActiveRecord
if ($this->homepage && $this->homepage != Git::getUrl($this->url)) {
$items[] = ['label' => 'Homepage', 'url' => $this->homepage];
}
$items[] = ['label' => 'Project', 'url' => Git::getUrl($this->url)];
if ($this->forum) {
$items[] = ['label' => 'Forum', 'url' => $this->forum];
}
$items[] = ['label' => 'Repository', 'url' => Git::getUrl($this->url)];
return Menu::widget([
'options' => ['class' => 'list-unstyled', 'style' => 'margin-bottom:0;'],
'items' => $items,