Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record view / Does not display thesaurus block if no keywords. #8404

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@
}
}
// keywords
.gn-thesaurus:not(:has(button)) {
display: none !important;
}
[data-gn-keyword-badges] {
.btn {
word-break: break-word;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ <h3>{{date.type | translate}}</h3>
</ul>
</section>

<div ng-include="'../../catalog/views/default/templates/recordView/maintenance.html'"></div>
<div
ng-include="'../../catalog/views/default/templates/recordView/maintenance.html'"
></div>

<div data-ng-if="mdView.current.record.serviceType" class="gn-margin-bottom flex-row">
<span class="badge badge-rounded" title="{{'serviceType' | translate}}">
Expand Down Expand Up @@ -60,7 +62,7 @@ <h3 data-translate="">cl_couplingType</h3>
&& viewConfig.internalThesaurus
&& viewConfig.internalThesaurus.indexOf(key) !== -1)
|| highlightedThesaurus.indexOf(key) === -1"
class="gn-margin-bottom flex-row"
class="gn-margin-bottom flex-row gn-thesaurus"
>
<span class="badge badge-rounded">
<i class="fa fa-fw fa-tags"></i>
Expand Down