Skip to content

Commit

Permalink
Merge pull request #2531 from robertatakenaka/fix_caixa_amarela
Browse files Browse the repository at this point in the history
Corrige apresentação da caixa amarela
  • Loading branch information
gitnnolabs authored Dec 8, 2022
2 parents 8dbe5c2 + 9af27e4 commit 2105ca4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions opac/webapp/templates/article/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
<!-- xxx Verifica se o artigo contém artigos relacionados -->
{% if article.related_articles %}
<script>
if (document.querySelectorAll(".article-correction-title").length == 0) {
// somente há o related-panel do site
// não há o related-panel inserido pelo packtools
if (document.querySelectorAll(".article-correction-title").length == 1) {
// length == 1: related-panel do site
// length == 2: related-panel do site + do packtools
$('.articleBadge-editionMeta-doi-copyLink').append($('.related-panel').html())
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mongoengine==0.16.3
natsort==7.0.1
oauthlib==3.1.0
-e git+https://[email protected]/scieloorg/[email protected]#egg=Opac_Schema
-e git+https://github.com/scieloorg/[email protected].5#egg=packtools
-e git+https://github.com/scieloorg/[email protected].6#egg=packtools
passlib==1.7.2
pbr==5.4.5
picles.plumber==0.11
Expand Down

0 comments on commit 2105ca4

Please sign in to comment.