Skip to content

Commit

Permalink
merge: PR #795 from dev
Browse files Browse the repository at this point in the history
Weekly release 2024-07-22
  • Loading branch information
alycejenni authored Jul 22, 2024
2 parents 03b2be1 + adc41a9 commit 0cb72af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckanext/nhm/theme/templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
href="{{ h.url_for('contact.form') }}">Contact</a>
</li>
<li role="presentation" class="dropup">
<a href="{{ h.url_for('home.about') }}">Legal</a>
<a href="{{ h.url_for('legal.terms') }}">Legal</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button"
aria-haspopup="true" aria-expanded="false"
aria-label="Legal popup menu">
Expand Down
2 changes: 1 addition & 1 deletion ckanext/nhm/theme/templates/record/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{% block page_header %}
<header class="page-header">
<div class="row flex-container flex-wrap flex-wrap-spacing flex-between flex-stretch-first flex-reverse">
{% if g.version and h.latest_item_version(resource_id=res.id, record_id=rec['_id']) != g.version %}
{% if g.version and h.latest_item_version(resource_id=res.id, record_id=rec['_id']) > g.version %}
<div class="col-md-12 full-width alert-info margin-bottom">
<p><b>This is not the most recent version of this record.</b></p>
<p>This version is from {{ h.get_version_date(g.version) }}.</p>
Expand Down

0 comments on commit 0cb72af

Please sign in to comment.