improved import algorithm, fixed a referer issue from the playlists page after deleting a playlist

Signed-off-by: thtmnisamnstr <gavinj1984@gmail.com>
This commit is contained in:
thtmnisamnstr
2023-02-23 15:55:38 -08:00
parent 6f01d6eacf
commit b3eea6ab3e
2 changed files with 30 additions and 29 deletions

View File

@@ -10,12 +10,12 @@
</div>
<div class="pure-u-1-3">
<h3 style="text-align:center">
<a href="/create_playlist?referer=<%= URI.encode_www_form(referer) %>"><%= translate(locale, "Create playlist") %></a>
<a href="/create_playlist?referer=<%= URI.encode_www_form("/feed/playlists") %>"><%= translate(locale, "Create playlist") %></a>
</h3>
</div>
<div class="pure-u-1-3">
<h3 style="text-align:right">
<a href="/data_control?referer=<%= URI.encode_www_form(referer) %>">
<a href="/data_control?referer=<%= URI.encode_www_form("/feed/playlists") %>">
<%= translate(locale, "Import/export") %>
</a>
</h3>