From 06d249ea68336b2d62948014958d36511ba0d2c4 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Sat, 7 Sep 2019 17:22:54 +0000 Subject: * Songs: Add new features --- laravel/app/Song.php | 3 ++- 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 @@