Use MACRO display_episode_duration in templates
This commit is contained in:
parent
414bae101a
commit
e2cf52af6e
@ -55,7 +55,7 @@
|
|||||||
<!--% latest_episodes.notes %-->
|
<!--% latest_episodes.notes %-->
|
||||||
<footer>
|
<footer>
|
||||||
<h2>listen now</h2>
|
<h2>listen now</h2>
|
||||||
<p>Duration: <!--% latest_episodes.duration %--></p>
|
<p>Duration: <!--% display_episode_duration(latest_episodes.duration) %--></p>
|
||||||
<audio controls preload="none">
|
<audio controls preload="none">
|
||||||
<source src="local/hpr<!--% latest_episodes.id %-->.ogg" type="audio/ogg" >
|
<source src="local/hpr<!--% latest_episodes.id %-->.ogg" type="audio/ogg" >
|
||||||
<source src="local/hpr<!--% latest_episodes.id %-->.mp3" type="audio/mpeg" >
|
<source src="local/hpr<!--% latest_episodes.id %-->.mp3" type="audio/mpeg" >
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
|
||||||
<!--% MACRO show_meta(show) BLOCK %-->
|
<!--% MACRO show_meta(show) BLOCK %-->
|
||||||
<span><label>Released:</label> <!--% show.date %-->.</span> <span><label>Duration:</label> <!--% show.duration %-->.</span> <span><label>Flag:</label> <!--% display_explicit(show.explicit) %-->.</span> <span><!--% show_series(show.series, show.seriesid) %--></span> <br>
|
<span><label>Released:</label> <!--% show.date %-->.</span> <span><label>Duration:</label> <!--% display_episode_duration(show.duration) %-->.</span> <span><label>Flag:</label> <!--% display_explicit(show.explicit) %-->.</span> <span><!--% show_series(show.series, show.seriesid) %--></span> <br>
|
||||||
<span><label>Tags:</label> <em><!--% show.tags %--></em>.</span>
|
<span><label>Tags:</label> <em><!--% show.tags %--></em>.</span>
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user