Skip to content

Commit 23f2768

Browse files
committed
display avg workspace age in hours
1 parent 7ba7178 commit 23f2768

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/webapp/WEB-INF/Index.jsp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,10 @@
172172
{{# } }}
173173

174174
{{# if( stats.averageWorkspaceAge != undefined ) { }}
175+
{{# var avgAge = stats.averageWorkspaceAge/3600; }}
175176
<div class="stats-line stat-averageWorkspaceAge">
176177
<div class="attribute-name">average age of workspace:</div>
177-
<div class="attribute-detail">{{# print( Math.round(stats.averageWorkspaceAge*100)/100 ); }} sec</div>
178+
<div class="attribute-detail">{{# print( Math.round(avgAge*100)/100 ); }}h</div>
178179
<div class="clearer"></div>
179180
</div>
180181
{{# } }}

0 commit comments

Comments
 (0)