Skip to content

Commit

Permalink
bump splainer to support unabridged: keyword in field spec (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh authored Feb 6, 2024
1 parent aa7d899 commit 18a7248
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions app/assets/templates/views/searchResult.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@
</span>
<span><a href="https://translate.google.com/?sl=auto&tl=en&text={{fieldValue}}" target="_blank"><img ng-src="images/google-translate.png" width="16" height="16"/></a></span>
</li>

<!-- Unabridgeds -->
<li ng-repeat="(fieldName, fieldValue) in doc.unabridgeds">
<span class="subLabel">{{fieldName}}:</span>
<span
ng-bind-html="fieldValue"
>
</span>
</li>

<!-- Other fields -->
<li ng-repeat="(fieldName, fieldValue) in snippets">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ngclipboard": "^2.0.0",
"party-js": "^2.2.0",
"popper.js": "^1.16.1",
"splainer-search": "2.31.0",
"splainer-search": "2.32.0",
"tether-shepherd": "latest",
"turbolinks": "^5.2.0",
"vega": "^5.27.0"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18a7248

Please sign in to comment.