Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
Backend Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SpinShare
Backend Server
Commits
85cd1adf
Commit
85cd1adf
authored
Apr 16, 2020
by
Andreas Heimann
Committed by
GitHub
Apr 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed actions not showing
parent
edc835dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
templates/song/detail.html.twig
templates/song/detail.html.twig
+8
-1
No files found.
templates/song/detail.html.twig
View file @
85cd1adf
...
...
@@ -66,6 +66,13 @@
<a
href=
"
{{
path
(
'moderation.song.remove'
,
{
songId
:
song.id
}
)
}}
"
onclick=
"return confirm('Are you sure? This action cannot be undone!')"
class=
"button button-icon"
><i
class=
"mdi mdi-delete"
></i></a>
{%
endif
%}
</div>
{%
else
%}
<div
class=
"song-detail-actions"
>
<a
href=
"
{{
path
(
'song.download'
,
{
songId
:
song.id
}
)
}}
"
class=
"button button-primary"
>
Download
</a>
<button
class=
"button-preview button"
>
PLAY PREVIEW
</button>
<a
href=
"spinshare-song://
{{
song.id
}}
"
class=
"button"
>
Open in Client
</a>
<a
href=
"
{{
path
(
'report.song'
,
{
songId
:
song.id
}
)
}}
"
class=
"button"
>
Report
</a>
</div>
{%
endif
%}
</section>
{%
endblock
%}
...
...
@@ -113,4 +120,4 @@
DOMButtonPreview
.
classList
.
remove
(
"
button-primary
"
);
}
</script>
{%
endblock
%}
\ No newline at end of file
{%
endblock
%}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment