Difference between revisions of "Team:William and Mary/Outreach DB/Details"

Line 52: Line 52:
 
<!------Colored box 1----->
 
<!------Colored box 1----->
 
<div style="background-color:#DBDBDB; text-align:left; vertical-align: middle; padding:10px 30px; margin: 30px; column-width: 400px;font-size: 16px;">
 
<div style="background-color:#DBDBDB; text-align:left; vertical-align: middle; padding:10px 30px; margin: 30px; column-width: 400px;font-size: 16px;">
<div><b>ID: </b>{{#padInt5 [id]}}</div>
+
<div><b>ID: </b>{{#padInt5 id}}</div>
 
<div><b>Section: </b>{{[Section]}}</div>
 
<div><b>Section: </b>{{[Section]}}</div>
  

Revision as of 20:56, 28 October 2017


Handlebars.registerHelper( "padInt5", function ( i ){ i.toString().padStart(5, '0') });