Skip to content

Commit

Permalink
Altera popup do portal de revista para link normal abrindo em nova aba.
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusandrade committed Oct 18, 2019
1 parent 4ec26bc commit 9bc5294
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions templates/result-inc-source.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
<div>
{% set journal = doc.fo.0|substring_before(';') %}
{% if journal != '' and doc.type.0 == 'article' %}
<em><a href="http://portal.revistas.bvs.br/transf.php?xsl=xsl/titles.xsl&xml=http://catserver.bireme.br/cgi-bin/wxis1660.exe/?IsisScript=../cgi-bin/catrevistas/catrevistas.xis|database_name=TITLES|list_type=title|cat_name=ALL|from=1|count=50&lang=pt&comefrom=home&home=false&task=show_magazines&request_made_adv_search=false&lang=pt&show_adv_search=false&help_file=/help_pt.htm&connector=ET&search_exp={{ journal }}
" class="fancybox_iframe75"><span>{{ journal }}</span></a>;
{{ doc.fo.0|substring_after(';') }}</em>
<em>
<a href="http://portal.revistas.bvs.br/transf.php?xsl=xsl/titles.xsl&xml=http://catserver.bireme.br/cgi-bin/wxis1660.exe/?IsisScript=../cgi-bin/catrevistas/catrevistas.xis|database_name=TITLES|list_type=title|cat_name=ALL|from=1|count=50&lang=pt&comefrom=home&home=false&task=show_magazines&request_made_adv_search=false&lang=pt&show_adv_search=false&help_file=/help_pt.htm&connector=ET&search_exp={{ journal }}" target="_blank">
<span>{{ journal }}</span>
</a>; {{ doc.fo.0|substring_after(';') }}
</em>
{% else %}
<em>{{ doc.fo.0 }}</em>
{% endif %}
{% endif %}
</div>
{% endif %}

<div>
<div>
{{ occ( {'element': doc.type[0], 'translate': true, 'group': 'REFINE_type' } ) }}
{% if doc.la is defined %}
{{ texts.DOCUMENT_IN }} {{ occ( {'element': doc.la, 'translate': true, 'group': 'REFINE_la'} ) }}
Expand All @@ -21,7 +23,7 @@

<!-- database -->
{% if 'LXP' in doc.services %}
{% if lang == 'pt' %}
{% if lang == 'pt' %}
{% set lxp_disclaimer_url = 'http://bases.bireme.br/iah/online/P/llxp_disclaimer.htm' %}
{% elseif lang == 'es' %}
{% set lxp_disclaimer_url = 'http://bases.bireme.br/iah/online/E/llxp_disclaimer.htm' %}
Expand Down

0 comments on commit 9bc5294

Please sign in to comment.