Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ckanext-odsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open-Data
ckanext-odsh
Commits
0643b3a2
Commit
0643b3a2
authored
2 years ago
by
Thorge Petersen
Browse files
Options
Downloads
Patches
Plain Diff
Fixed blocks
parent
41f8bcfb
No related branches found
No related tags found
2 merge requests
!41
Version 2.0.0
,
!38
Merge py3 into dev
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ckanext/odsh/templates/package/snippets/package_form.html
+36
-35
36 additions, 35 deletions
ckanext/odsh/templates/package/snippets/package_form.html
with
36 additions
and
35 deletions
ckanext/odsh/templates/package/snippets/package_form.html
+
36
−
35
View file @
0643b3a2
...
...
@@ -2,7 +2,8 @@
{% set action = c.form_action or '' %}
{% set form_style = c.form_style or c.action %}
<form
id=
"dataset-edit"
class=
"dataset-form {% if(form_style=='edit') %} dataset-edit-form {%endif%} "
method=
"post"
action=
"{{ action }}"
data-module=
"basic-form"
novalidate
>
<form
id=
"dataset-edit"
class=
"dataset-form {% if(form_style=='edit') %} dataset-edit-form {%endif%} "
method=
"post"
action=
"{{ action }}"
data-module=
"basic-form"
novalidate
>
{% block stages %}
{{ h.snippet('package/snippets/stages.html', stages=stage) }}
{% endblock %}
...
...
@@ -28,8 +29,8 @@
{% block delete_button %}
{% if h.check_access('package_delete', {'id': data.id}) and not data.state == 'deleted' %}
<a
class=
"btn btn-danger pull-left"
href=
"{% url_for controller='dataset', action='delete', id=data.id %}"
data-module=
"confirm-action"
data-module-content=
"{{ _('Are you sure you want to delete this dataset?') }}"
>
{%
block delete_button_text %}{{ _('Delete') }}{% endblock %}
</a>
data-module=
"confirm-action"
data-module-content=
"{{ _('Are you sure you want to delete this dataset?') }}"
>
{%
block delete_button_text %}{{ _('Delete') }}{% endblock %}
</a>
{% endif %}
{% endblock %}
{% block save_button %}
...
...
@@ -37,9 +38,9 @@
{% block save_button_text %}{{
_('Next: Add Data')
}}{% endblock %}
</button>
{% endblock %}
</div>
</div>
{% endblock %}
</div>
{% endblock %}
<span
class=
'required-text'
>
*{{ _('Required information') }}
</span>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment