Skip to content

Commit

Permalink
remove more authorclaim references in configs, views
Browse files Browse the repository at this point in the history
  • Loading branch information
vpeil committed Jun 14, 2019
1 parent d76013a commit 4adc82a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions config/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -836,11 +836,6 @@ user:
- type: string
- type: integer
description: "Researcher arXiv identifier"
authorClaim:
oneOf:
- type: string
- type: integer
description: "Researcher authorClaim identifier"
github:
oneOf:
- type: string
Expand Down
1 change: 0 additions & 1 deletion config/store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,6 @@ search:
googleScholar: {type: text, analyzer: tag}
github: {type: text, analyzer: tag}
researcherId: {type: text, analyzer: tag}
authorClaim: {type: text, analyzer: tag}
scopusId: {type: text, analyzer: tag}
alias: {type: text, analyzer: tag}
cql_mapping:
Expand Down
2 changes: 1 addition & 1 deletion views/person_profile.tt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="col-md-12 row hidden-xs">
<form action="[% uri_base %]/librecat/person/author_id" id="author_id_form" method="POST">
<input type="hidden" name="_id" value="[% session.user_id %]" />
[%- IF backend AND !(thisPerson.googleScholar OR thisPerson.researcherId OR thisPerson.authorClaim OR thisPerson.scopusId OR thisPerson.orcid OR thisPerson.github OR thisPerson.arxiv OR thisPerson.inspire OR thisPerson.alias) %]
[%- IF backend AND !(thisPerson.googleScholar OR thisPerson.researcherId OR thisPerson.scopusId OR thisPerson.orcid OR thisPerson.github OR thisPerson.arxiv OR thisPerson.inspire OR thisPerson.alias) %]
<div class="row col-md-12">
<span class="text-muted">[% h.loc("person_profile.no_author_ids") %]</span>
<a href="#" class="helpme helpme-md" data-placement="right" title="[% h.loc("help.author_id") %]" id="author_ids_edit" onclick="editAuthorIds('edit');"><span class="fa fa-pencil"></span></a>
Expand Down

0 comments on commit 4adc82a

Please sign in to comment.