diff --git a/README.md b/README.md index 9f04c07..9dd3201 100644 --- a/README.md +++ b/README.md @@ -53,4 +53,12 @@ heroku logs --tail More info: -https://devcenter.heroku.com/articles/getting-started-with-php \ No newline at end of file +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) diff --git a/src/models/Package.php b/src/models/Package.php index 9fe1aec..3719bb6 100644 --- a/src/models/Package.php +++ b/src/models/Package.php @@ -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,