Skip to content

Commit e333a79

Browse files
committed
BROWSE-402 Added the 'Copy to clipboard' feature to expressions
1 parent 9e345c2 commit e333a79

File tree

1 file changed

+7
-4
lines changed
  • snomed-interaction-components/views/conceptDetailsPlugin/tabs

1 file changed

+7
-4
lines changed

snomed-interaction-components/views/conceptDetailsPlugin/tabs/expression.hbs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@
2424
<br><br>
2525

2626
{{#if_gr otherOwlExpressions.length 0}}
27-
<p class=""><span class='i18n' data-i18n-id='i18n_other_expressions'>{{i18n "i18n_other_expressions" "Other Expressions"}}</span> (*)</p>
28-
{{#each otherOwlExpressions}}
29-
<div class="expression-code" style="margin-top: 10px; padding: 10px;"><pre>{{this}}</pre></div>
30-
{{/each}}
27+
<p class=""><span class='i18n' data-i18n-id='i18n_other_expressions' style="margin-bottom: 10px">{{i18n "i18n_other_expressions" "Other Expressions"}}</span> (*)</p>
28+
{{#each otherOwlExpressions}}
29+
<div>
30+
<small><i class="glyphicon glyphicon-export clip-btn-exp" style="float: right;top: 20px;margin-right: 20px;" data-clipboard-text="{{this}}"></i></small>
31+
<div class="expression-code" style="padding: 10px;"><pre>{{this}}</pre></div>
32+
</div>
33+
{{/each}}
3134
{{/if_gr}}
3235
<div class="well small">
3336
<p>(*) <span class='i18n' data-i18n-id='i18n_expression_text1'>{{i18n "i18n_expression_text1" "The expressions are generated according to the ABNF syntax found in the \"SNOMED CT Compositional Grammar Specification and Guide\""}}</span> (<a href="http://snomed.org/compgrammar" target="_blank">http://snomed.org/compgrammar</a>)</p>

0 commit comments

Comments
 (0)