<% if (activity.details) { %>
<%= activity.details %>
<% } %>
<% if (activity.state) { %>
<%= activity.state %>
<% } %>
<% if (progress !== null) { %>
<% if (start && end) { %>
--:--
<%= Math.floor((end - start) / 60000) %>:<%= String(Math.floor(((end - start) % 60000) / 1000)).padStart(2, "0") %>
<% } %>
<% } %>