Skip to content

Commit

Permalink
LIMS-1558: Add functionality for SMILES code for any sample (#880)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Williams <[email protected]>
  • Loading branch information
ndg63276 and Mark Williams authored Jan 28, 2025
1 parent 5fc0e78 commit 3366ee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/js/modules/samples/views/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ define(['marionette',
edit.create('DIMENSION3', 'text')
edit.create('SHAPE', 'text')
edit.create('COLOR', 'text')
edit.create('SMILES', 'text')

if (!this.model.get('HASDATA')) {
edit.create('CODE', 'text')
Expand Down
5 changes: 5 additions & 0 deletions client/src/js/templates/samples/sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ <h1 data-testid="sample-header">Sample Details</h1>
<span class="COMMENTS" data-testid="sample-comments"><%-COMMENTS%></span>
</li>

<li>
<span class="label">SMILES Code</span>
<span class="SMILES" data-testid="sample-smiles"><%-SMILES%></span>
</li>

<li>
<span class="label">Barcode</span>
<span class="CODE" data-testid="sample-barcode"><%-CODE%></span>
Expand Down

0 comments on commit 3366ee9

Please sign in to comment.