Difference between revisions of "Widget:ApprovedMaterials"

From LNF Wiki
Jump to navigation Jump to search
Line 45: Line 45:
  
 
         //someString = "<h4>Approved Materials</h4><table><tr>";
 
         //someString = "<h4>Approved Materials</h4><table><tr>";
somestring = "<table><tr>";
+
someString = "<table><tr>";
  
 
         for(var catKey in uniqueCategories){
 
         for(var catKey in uniqueCategories){

Revision as of 11:10, 12 May 2016

This widget will display the approved and restricted materials for a tool based on its toolid. Use the following code:

{{#widget:ApprovedMaterials|toolid=#####|header=Y/N}}