Skip to content

Commit

Permalink
hide redacted button; renamed unredacted button; bump
Browse files Browse the repository at this point in the history
  • Loading branch information
rshewitt committed Jun 6, 2024
1 parent 7e64b7d commit f98cf47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions ckanext/datajson/templates_datajson/organization/read.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{{ super() }}
{% if h.check_access('package_create', {'owner_org': c.group_dict.id}) %}
{% if h.datajson_inventory_links_enabled() %}
<button id="btnUnredacted" class="btn btn-secondary">Unredacted Inventory</button>
<button id="btnRedacted" class="btn btn-secondary">Redacted Inventory</button>
<button id="btnUnredacted" class="btn btn-secondary">Export data.json</button>
<!-- <button id="btnRedacted" class="btn btn-secondary">Redacted Inventory</button> -->
<button id="btnDraft" class="btn btn-secondary">Export Drafts</button>

<form id="formUnredacted" action="{{c.group_dict.id + '/unredacted.json' }}"></form>
Expand All @@ -19,9 +19,9 @@
$('#formUnredacted').submit();
});

$('#btnRedacted').click(function () {
$('#formRedacted').submit();
});
// $('#btnRedacted').click(function () {
// $('#formRedacted').submit();
// });

$('#btnDraft').click(function () {
$('#formDraft').submit();
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

setup(
name='ckanext-datajson',
version='0.1.24',
description="CKAN extension to generate /data.json",
version='0.1.25',
description='CKAN extension to generate /data.json',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
Expand Down

0 comments on commit f98cf47

Please sign in to comment.