{% extends "organization/edit_base.html" %} {% set dataset_type = h.default_package_type() %} {% set default_collapsed = h.default_collapse_facets() %} {% block subtitle -%} {{ ui.subtitle_item(h.humanize_entity_type('package', dataset_type, 'edit label') or _('Edit Datasets')) }} {{- super() }} {%- endblock %} {% block breadcrumb_content_inner -%} {{ ui.breadcrumb(organization.display_name|truncate(35), href=h.url_for(group_type+'.read', id=organization.name, attrs={"title": organization.display_name})) }} {{- ui.breadcrumb(_('Edit datasets'), href=h.url_for(group_type+'.bulk_process', id=organization.name, attrs={"title": organization.display_name}), active=true) }} {%- endblock %} {% block page_primary_action -%} {{ ui.page_action(h.humanize_entity_type('package', dataset_type, 'add link') or _("Add Dataset"), href=h.url_for(dataset_type ~ '.new', group=group_dict.id), icon="plus-square") }} {%- endblock %} {% block primary_content_inner %} {{ ui.heading(h.humanize_entity_type('package', dataset_type, 'edit label') or _('Edit Datasets'), level=1) }}
| {%- call ui.util.call(ui.button_group) -%} {{ ui.button(_('Make public'), style="secondary", icon="eye", type="submit", attrs={"name": "bulk_action.public", "value": "public"}) }} {{ ui.button(_('Make private'), style="secondary", icon="eye-slash", type="submit", attrs={"name": "bulk_action.private", "value": "private"}) }} {%- endcall %} {%- call ui.util.call(ui.button_group) -%} {{ ui.button(_('Make public'), style="danger", icon="times", type="submit", attrs={"name": "bulk_action.delete", "value": "delete"}) }} {%- endcall %} | |
|---|---|
{{ _('Edit') }}
{{ title|truncate(80) }} {% if package.get('state', '').startswith('draft') %} {{ _('Draft') }} {% elif package.get('state', '').startswith('deleted') %} {{ _('Deleted') }} {% endif %} {% if package.private %} {{ _('Private') }} {% endif %}{% if notes %}{{ notes|urlize }} {% endif %} |