Skip to content

Commit

Permalink
fixes for dplace-cldf v3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xrotwang committed Aug 15, 2024
1 parent 3e5395f commit ad9ecce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion dplace2/templates/contribution/detail_html.mako
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<h2>
${_('Contribution')} ${ctx.name}
<a href="https://github.com/D-PLACE/dplace-data/tree/master/datasets/${ctx.id}"
<a href="https://github.com/D-PLACE/${ctx.id}"
title="D-PLACE dataset ${ctx.name} on GitHub">
<img src="${request.static_url('dplace2:static/GitHub-Mark-32px.png')}" width="30" style="margin-top: -5px">
</a>
Expand Down
2 changes: 0 additions & 2 deletions dplace2/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ def query(cls):


def citation(req, ctx):
if not ctx.reference:
return ''
refs = ctx.reference.split('\n')
content = [
HTML.h4('Cite as'),
Expand Down

0 comments on commit ad9ecce

Please sign in to comment.