-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds documents and person filters * Adds detailed display of search results Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
- Loading branch information
Alicia Zangger
committed
Oct 18, 2019
1 parent
e7203d2
commit 9d072f2
Showing
18 changed files
with
587 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
projects/public-search/src/app/document-brief/document-brief.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
RERO ILS | ||
Copyright (C) 2019 RERO | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published by | ||
the Free Software Foundation, version 3 of the License. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
.thumb-brief | ||
img { | ||
max-height: 90px; | ||
width: 58px; | ||
} | ||
|
||
@media (max-width: 960px) { | ||
.thumb-brief | ||
img { | ||
max-width: 48px; | ||
} | ||
} | ||
|
||
pre { | ||
white-space: pre-wrap; | ||
max-height: 300px; | ||
font-size: 0.7em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
projects/public-search/src/app/person-brief/person-brief.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- | ||
RERO ILS UI | ||
Copyright (C) 2019 RERO | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published by | ||
the Free Software Foundation, version 3 of the License. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
<div *ngIf="record"> | ||
<h5 class="card-title mb-0 rero-ils-person"> | ||
<a href="{{'/'+ view +'/persons/'+record.metadata.pid}}">{{record.metadata | mefTitle}}</a> | ||
<small *ngIf="record.metadata.rero" class="badge badge-secondary ml-1">RERO</small> | ||
<small *ngIf="record.metadata.gnd" class="badge badge-secondary ml-1">GND</small> | ||
<small *ngIf="record.metadata.bnf" class="badge badge-secondary ml-1">BNF</small> | ||
</h5> | ||
<div class="card-text px-2"> | ||
<p class="mb-0" *ngIf="record.metadata | birthDate">{{ record.metadata | birthDate }}</p> | ||
<p class="mb-0" *ngIf="record.metadata | bioInformations">{{ record.metadata | bioInformations }}</p> | ||
</div> | ||
</div> |
Oops, something went wrong.