backend: adapt to /media/tags/:media_id API change
This commit is contained in:
parent
945770eb1b
commit
1a2e86d666
2 changed files with 10 additions and 4 deletions
|
@ -14,11 +14,11 @@
|
|||
<dt>Content-Type</dt>
|
||||
<dd><%= $media->{content_type} %></dd>
|
||||
<dt>Tags</dt>
|
||||
% if ($media->{tags}->@* == 0) {
|
||||
% if ($tags->@* == 0) {
|
||||
<dd>None yet.</dd>
|
||||
% } else {
|
||||
<dd>
|
||||
% for my $tag ($media->{tags}->@*) {
|
||||
% for my $tag ($tags->@*) {
|
||||
<%= link_to $tag => url_for("tag_show", tag_id_or_name => $tag) %>
|
||||
% }
|
||||
</dd>
|
||||
|
|
Reference in a new issue