Skip to content

Commit

Permalink
Modify the playlist parametrer (from playlist(type of str) to playlis…
Browse files Browse the repository at this point in the history
…t_in_get(type of playlist)) in the call of the 'can_see_playlist_video' templatetags function in the 'playlist_player' template (#1144)
  • Loading branch information
gcondess authored May 27, 2024
1 parent 0bbc260 commit d5291c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod/playlist/templates/playlist/playlist_player.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 class="card-header card-title pod-card__title h4">
</h2>
<div {% if videos|length > 5 %}class="scroll-container"{% endif %}>
{% for video_in_playlist in videos %}
{% can_see_playlist_video video_in_playlist playlist as can_see_video %}
{% can_see_playlist_video video_in_playlist playlist_in_get as can_see_video %}
<a
{% if can_see_video %}
href="{% with default_version_link=video_in_playlist.get_default_version_link %}{% if default_version_link %}{{ default_version_link }}{% else %}{% url 'video:video' video_in_playlist.slug %}{% endif %}{% endwith %}?playlist={{ playlist_in_get.slug }}"
Expand Down

0 comments on commit d5291c5

Please sign in to comment.