Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Thies committed Jan 20, 2024
1 parent 289b037 commit a512cbc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/file/templates/media_resource.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div class="library-resource">
<form action="." method="post">
{{# canedit }}
<input type="hidden" name="source" value="streamio"/>
<input type="hidden" name="source" value="streamio">
<button type="submit" name="edit" value="{{ id }}">{{# str }} edit {{/ str }}</button>
{{/ canedit }}
{{# libraryhome }}
Expand Down
9 changes: 8 additions & 1 deletion source/streamio/templates/media_resource.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,20 @@
Example context (json):
{
"canedit": true,
"id": 2,
"resource": {
"title": "title",
"name": "name",
"description": "big and blue"
}
}

}}
<div class="library-resource">
<form action="." method="post">
{{# canedit }}
<input type="hidden" name="source" value="streamio"/>
<input type="hidden" name="source" value="streamio">
<button type="submit" name="edit" value="{{ id }}">{{# str }} edit {{/ str }}</button>
{{/ canedit }}
{{# libraryhome }}
Expand Down
2 changes: 1 addition & 1 deletion source/streamio/templates/video.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Example context (json):
{
id: "324lk32sK",
posterurl: "example.com/image.jpg",
posterurl: "example.com/image.jpg"
}

}}
Expand Down

0 comments on commit a512cbc

Please sign in to comment.