Add ETA to current activity
This commit is contained in:
@@ -198,6 +198,13 @@ DOCUMENTATION :: END
|
|||||||
% else:
|
% else:
|
||||||
<span>IP: N/A</span>
|
<span>IP: N/A</span>
|
||||||
% endif
|
% endif
|
||||||
|
<br />
|
||||||
|
ETA:
|
||||||
|
<span id="stream-eta-${a['session_key']}">
|
||||||
|
<script>
|
||||||
|
$("#stream-eta-${a['session_key']}").html(moment().add(parseInt(${a['duration']}) - parseInt(${a['view_offset']}), 'milliseconds').format(time_format));
|
||||||
|
</script>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dashboard-activity-poster-info-time">
|
<div class="dashboard-activity-poster-info-time">
|
||||||
<span class="progress_time">${a['view_offset']}</span>/<span class="progress_time">${a['duration']}</span>
|
<span class="progress_time">${a['view_offset']}</span>/<span class="progress_time">${a['duration']}</span>
|
||||||
|
Reference in New Issue
Block a user