about summary refs log tree commit diff
path: root/laravel/resources/views
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@gmail.com>2019-01-17 14:29:52 -0500
committerZach DeCook <zachdecook@gmail.com>2019-01-17 14:29:52 -0500
commitc7df9d769a2dfbc61aa06b8b094a20d829f44bb8 (patch)
tree9c9d9f27cf4ce618b74b6b3ccad76e5ab68dc8fe /laravel/resources/views
parentb4958b4bf1fecbb2bace7dc9664b326841c8067e (diff)
downloadprosongsa-c7df9d769a2dfbc61aa06b8b094a20d829f44bb8.tar.gz
* Suggestions: Offer to transpose into the key of the current song
Diffstat (limited to 'laravel/resources/views')
-rw-r--r--laravel/resources/views/song.blade.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/laravel/resources/views/song.blade.php b/laravel/resources/views/song.blade.php
index 6b4b661..6dfe409 100644
--- a/laravel/resources/views/song.blade.php
+++ b/laravel/resources/views/song.blade.php
@@ -65,6 +65,11 @@
     @foreach ($suggestions as $sug)
         <div class='controlArea'>
             <a class='but' href='{{route('song.suggested', ['song' => $sug, 'from' => $song])}}'>{{$sug->name}}</a>
+            @if ($song->plain_key)
+            <a class='but' href='{{route('song.suggested', ['song' => $sug, 'from' => $song, 'key' => $song->plain_key])}}'>
+                transposed to {{$song->plain_key}}
+            </a>
+            @endif
         </div>
     @endforeach