From bc2acf024a5fe8b912f8c66199b59697d415c79f Mon Sep 17 00:00:00 2001
From: Amanda Ghassaei <amandaghassaei@gmail.com>
Date: Tue, 11 Aug 2015 17:53:58 -0400
Subject: [PATCH] num materials display

---
 js/menus/templates/AssemblerMenuView.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/js/menus/templates/AssemblerMenuView.html b/js/menus/templates/AssemblerMenuView.html
index c7ed4250..067ad9f3 100644
--- a/js/menus/templates/AssemblerMenuView.html
+++ b/js/menus/templates/AssemblerMenuView.html
@@ -14,7 +14,10 @@ Machine: &nbsp;&nbsp;
     <label class="checkbox" for="stockAttached">
         <input id="stockAttached" data-property="shouldPickUpStock" type="checkbox" <% if (allMachines[machineName].shouldPickUpStock){ %> checked="checked"<% } %> value="" data-toggle="checkbox" class="machine custom-checkbox">
         <span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
-        Separate Stock Position</label><br/>
+        Separate Stock Position</label>
+        <% if (allMachines[machineName].numMaterials > -1){ %>
+            Num Materials: &nbsp;&nbsp;<%= allMachines[machineName].numMaterials %><br/>
+        <% } %><br/>
 Strategy: &nbsp;&nbsp;
     <div class="btn-group">
         <button data-toggle="dropdown" class="btn dropdown-toggle" type="button"><%= allAssemblyStrategies[camStrategy] %><span class="caret"></span></button>
-- 
GitLab