aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-09-21 13:03:46 +0200
committerbnewbold <bnewbold@robocracy.org>2012-09-21 13:03:46 +0200
commit575dd002be18f170917a98f8bca891b4bd615f78 (patch)
tree5db7245e184110fd0a403b052191fe6d5b3205d4 /templates
parentb0ecc94ef69d489dcc775038a0c6f65c1c960c8e (diff)
downloadbommom-575dd002be18f170917a98f8bca891b4bd615f78.tar.gz
bommom-575dd002be18f170917a98f8bca891b4bd615f78.zip
basic octopart pricing functionality
Diffstat (limited to 'templates')
-rw-r--r--templates/bom_view.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/bom_view.html b/templates/bom_view.html
index 7eca3e3..94e99a8 100644
--- a/templates/bom_view.html
+++ b/templates/bom_view.html
@@ -11,11 +11,15 @@
<th>manufacturer
<th>mpn
<th>description
+ <th>category
+ <!--
<th>form_factor
<th>specs
- <th>category
<th>tag
+ -->
<th>comment
+ <th>price
+ <th>availability
</tr>
{{ range .Bom.LineItems }}
<tr>
@@ -24,11 +28,15 @@
<td>{{ .Manufacturer }}
<td>{{ .Mpn }}
<td>{{ .Description }}
+ <td>{{ .Category }}
+ <!--
<td>{{ .FormFactor }}
<td>{{ .Specs }}
- <td>{{ .Category }}
<td>{{ .Tag }}
+ -->
<td>{{ .Comment }}
+ <td><a href="{{ .AggregateInfo.OctopartUrl }}">{{ .AggregateInfo.MarketPrice }}</a>
+ <td>{{ .AggregateInfo.MarketFactor }}
</tr>
{{ end }}
</table>