bugfixes load metadata

This commit is contained in:
Ozzieisaacs 2022-01-04 21:11:52 +01:00
parent 7b8b2f93a0
commit bbadfa2251
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ class scholar(Metadata):
v['tags'] = []
v['rating'] = 0
v['series'] = ""
v['cover'] = generic_cover
v['cover'] = ""
v['url'] = publication.get('pub_url') or publication.get('eprint_url') or "",
v['source'] = {
"id": self.__id__,

View File

@ -226,7 +226,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="metaModalLabel">{{_('Fetch Metadata')}}</h4>
<h4 class="modal-title text-center" id="metaModalLabel">{{_('Fetch Metadata')}}</h4>
<form class="padded-bottom" id="meta-search">
<div class="input-group">
<label class="sr-only" for="keyword">{{_('Keyword')}}</label>
@ -275,7 +275,7 @@
<p>{{_('Description')}}: <%= description %></p>
<% } %>
<p>{{_('Source')}}:
<a href="<%= source.url %>" target="_blank" rel="noopener"><%= source.description %></a>
<a href="<%= source.link %>" target="_blank" rel="noopener"><%= source.description %></a>
</p>
</div>
</li>