Skip to content

Commit

Permalink
show sample type and name of item takes and returns
Browse files Browse the repository at this point in the history
  • Loading branch information
klavins committed Mar 2, 2018
1 parent 084be8b commit d9a7482
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/technician/_show_block.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<script type="text/ng-template" id="item">
<div class='md-subhead content content-item'>
Item <a href='#' onclick='open_item_ui({{content_value(line).id}})'>#{self.id}</a>
{{content_value(line).sample.sample_type.name}} ({{content_value(line).sample.name}})
at {{content_value(line).location}}
</div>
</script>
Expand Down Expand Up @@ -131,7 +132,8 @@

<script type="text/ng-template" id="take">
<div class='md-subhead content content-take'>
Item <a href='#' ng-click='open_item_ui(content_value(line).id)'>{{content_value(line).id}}</a>
Item <a href='#' ng-click='open_item_ui(content_value(line).id)'>{{content_value(line).id}}</a>:
{{content_value(line).name}} ({{content_value(line).sample}})
at {{content_value(line).location}}
</div>
</script>
Expand Down

0 comments on commit d9a7482

Please sign in to comment.