diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2019-09-07 17:22:54 +0000 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2019-09-07 17:22:54 +0000 |
| commit | 06d249ea68336b2d62948014958d36511ba0d2c4 (patch) | |
| tree | 75e8a5c4732fffd0915d30f9fa6181874f21ef4d | |
| parent | 36b20054f2f0a2afe9d358cc1a7a8c8235606d1a (diff) | |
| download | prosongsa-06d249ea68336b2d62948014958d36511ba0d2c4.tar.gz | |
* Songs: Add new features
| -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 --> |
