lyrics/original links for songs

main
Matthew Huntington 3 months ago
parent ee95ad89ee
commit c8dad66310

@ -28,6 +28,8 @@
<th>id</th> <th>id</th>
<th>title</th> <th>title</th>
<th>notes</th> <th>notes</th>
<th>lyrics</th>
<th>original</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -38,11 +40,16 @@
{{song.title}} {{song.title}}
</a> </a>
<br/> <br/>
<button @click="copy(song.title)">Copy</button>
<button @click="link(song)" v-if="copiedSongs.findIndex(currSong => currSong.id === song.id) === -1">Link</button> <button @click="link(song)" v-if="copiedSongs.findIndex(currSong => currSong.id === song.id) === -1">Link</button>
<button @click="unlink(song)" v-if="copiedSongs.findIndex(currSong => currSong.id === song.id) !== -1">X</button> <button @click="unlink(song)" v-if="copiedSongs.findIndex(currSong => currSong.id === song.id) !== -1">X</button>
</td> </td>
<td>{{song.notes}}</td> <td>{{song.notes}}</td>
<td>
<a v-if="song.lyrics_link" target="lyrics" v-bind:href="song.lyrics_link">lyrics</a>
</td>
<td>
<a v-if="song.lyrics_link" target="original" v-bind:href="song.original_link">original</a>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

Loading…
Cancel
Save