Video: Add support for the music section

This commit is contained in:
techmetx11
2023-01-14 09:38:55 +01:00
parent 05258d56bd
commit 1b5fbfc13e
4 changed files with 37 additions and 0 deletions

View File

@@ -196,6 +196,15 @@ we're going to need to do it here in order to allow for translations.
<% end %>
</p>
<% end %>
<% if !video.music_artist.empty? %>
<p id="music_artist"><%= translate(locale, "Music artist: ") %><%= video.music_artist %></p>
<% end %>
<% if !video.music_album.empty? %>
<p id="music_album"><%= translate(locale, "Music album: ") %><%= video.music_album %></p>
<% end %>
<% if !video.music_licenses.empty? %>
<p id="music_licenses"><%= translate(locale, "Music licenses: ") %><%= video.music_licenses %></p>
<% end %>
</div>
</div>