diff options
| author | Zach DeCook <zachdecook@librem.one> | 2019-09-11 22:20:17 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2019-09-11 22:20:17 -0400 |
| commit | 0f62a10c2856d946a8d55146557324ab669b3945 (patch) | |
| tree | 22e9ba6cc47f56074e95510ae1b90c58e0b439a9 | |
| parent | 79bd421bb1f204ab8acfd4c254e1f5582142a294 (diff) | |
| parent | 06d249ea68336b2d62948014958d36511ba0d2c4 (diff) | |
| download | prosongsa-0f62a10c2856d946a8d55146557324ab669b3945.tar.gz | |
Merge branch 'laravel' of gitlab.com:earboxer/prosongsa into laravel
| -rw-r--r-- | laravel/app/Song.php | 3 | ||||
| -rw-r--r-- | laravel/resources/views/layouts/app.blade.php | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/laravel/app/Song.php b/laravel/app/Song.php index a71e997..a6e3a54 100644 --- a/laravel/app/Song.php +++ b/laravel/app/Song.php @@ -15,7 +15,8 @@ class Song extends Model { return $this->title . ( $this->author ? " ($this->author)" : "" ) - . ($this->plain_key ? " ($this->plain_key)" : ""); + . ($this->plain_key ? " ($this->plain_key)" : "") + . ($this->verse ? " ($this->verse)" : ""); } public function getPlainKeyAttribute() { diff --git a/laravel/resources/views/layouts/app.blade.php b/laravel/resources/views/layouts/app.blade.php index d3a1ddc..6e318dd 100644 --- a/laravel/resources/views/layouts/app.blade.php +++ b/laravel/resources/views/layouts/app.blade.php @@ -34,7 +34,9 @@ <div class="collapse navbar-collapse" id="navbarSupportedContent"> <!-- Left Side Of Navbar --> <ul class="navbar-nav mr-auto"> - + <li class="nav-item"> + <a class="nav-link" href="{{route('playlist.show','new')}}">Add new songs!</a> + </li> </ul> <!-- Right Side Of Navbar --> |
