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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open-Data
ckanext-odsh
Commits
d0362dcf
Commit
d0362dcf
authored
2 years ago
by
Thorge Petersen
Browse files
Options
Downloads
Patches
Plain Diff
Added missing asterix to required fields in package basic fields
parent
9f0489a4
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_basic_fields.html
+7
-7
7 additions, 7 deletions
...odsh/templates/package/snippets/package_basic_fields.html
with
7 additions
and
7 deletions
ckanext/odsh/templates/package/snippets/package_basic_fields.html
+
7
−
7
View file @
d0362dcf
...
@@ -57,7 +57,7 @@ dataset_is_draft)) %}
...
@@ -57,7 +57,7 @@ dataset_is_draft)) %}
<div
class=
"control-group field-organization"
>
<div
class=
"control-group field-organization"
>
<label
for=
"field-organizations"
class=
"control-label"
>
<label
for=
"field-organizations"
class=
"control-label"
>
{{ _('Organization') }}
{{ _('Organization') }}
<span
title=
"{{ _(
"
This
field
is
required
"
)
}}"
class=
"control-required"
>
*
</span>
<span
title=
"{{ _(
'
This field is required
'
) }}"
class=
"control-required"
>
*
</span>
</label>
</label>
<div
class=
"controls"
>
<div
class=
"controls"
>
<div>
<div>
...
@@ -89,7 +89,7 @@ dataset_is_draft)) %}
...
@@ -89,7 +89,7 @@ dataset_is_draft)) %}
<label
class=
"control-label"
for=
"field-license"
>
<label
class=
"control-label"
for=
"field-license"
>
{{ _("License") }}:
{{ _("License") }}:
<span
title=
"{{ _(
"
This
field
is
required
"
)
}}"
class=
"control-required"
>
*
</span>
<span
title=
"{{ _(
'
This field is required
'
) }}"
class=
"control-required"
>
*
</span>
</label>
</label>
<div
class=
"controls"
>
<div
class=
"controls"
>
<div
class=
"row-fluid"
>
<div
class=
"row-fluid"
>
...
@@ -139,8 +139,8 @@ dataset_is_draft)) %}
...
@@ -139,8 +139,8 @@ dataset_is_draft)) %}
{% set error_start = h.odsh_extract_error_new('temporal_start', errors) %}
{% set error_start = h.odsh_extract_error_new('temporal_start', errors) %}
{% set error_end = h.odsh_extract_error_new('temporal_end', errors) %}
{% set error_end = h.odsh_extract_error_new('temporal_end', errors) %}
{% set error_string = 'odsh_temporal_error_label' if error_start and error_end else (error_start if error_start else (error_end if error_end))%}
{% set error_string = 'odsh_temporal_error_label' if error_start and error_end else (error_start if error_start else (error_end if error_end))%}
<label
for=
"start-end"
class=
"control-label"
>
{{ _('Period') }}:
<label
for=
"start-end"
class=
"control-label"
>
{#
<span
title=
"{{ _(
"
This
field
is
required
"
)
}}"
class=
"control-required"
>
*
</span>
#}
{{ _('Period') }}:
<span
title=
"{{ _(
'
This field is required
'
) }}"
class=
"control-required"
>
*
</span>
</label>
</label>
<div
class=
'row-fluid'
>
<div
class=
'row-fluid'
>
<div
id=
'start-end'
class=
'span3'
>
<div
id=
'start-end'
class=
'span3'
>
...
@@ -242,7 +242,7 @@ dataset_is_draft)) %}
...
@@ -242,7 +242,7 @@ dataset_is_draft)) %}
{# field private #}
{# field private #}
<div
class=
"control-group"
>
<div
class=
"control-group"
>
<label
for=
"field-private"
class=
"control-label"
>
{{ _('Visibility') }}:
<label
for=
"field-private"
class=
"control-label"
>
{{ _('Visibility') }}:
<span
title=
"{{ _(
"
This
field
is
required
"
)
}}"
class=
"control-required"
>
*
</span>
<span
title=
"{{ _(
'
This field is required
'
) }}"
class=
"control-required"
>
*
</span>
</label>
</label>
<div
class=
"controls"
>
<div
class=
"controls"
>
<div
class=
"row-fluid"
>
<div
class=
"row-fluid"
>
...
@@ -262,7 +262,7 @@ dataset_is_draft)) %}
...
@@ -262,7 +262,7 @@ dataset_is_draft)) %}
{% if data.id and h.check_access('package_delete', {'id': data.id}) and data.state != 'active' %}
{% if data.id and h.check_access('package_delete', {'id': data.id}) and data.state != 'active' %}
<div
class=
"control-group"
>
<div
class=
"control-group"
>
<label
for=
"field-state"
class=
"control-label"
>
{{ _('State') }}
</label>
<label
for=
"field-state"
class=
"control-label"
>
{{ _('State') }}
:
</label>
<div
class=
"controls"
>
<div
class=
"controls"
>
<div
class=
"row-fluid"
>
<div
class=
"row-fluid"
>
<div
class=
"span6"
>
<div
class=
"span6"
>
...
@@ -289,7 +289,7 @@ dataset_is_draft)) %}
...
@@ -289,7 +289,7 @@ dataset_is_draft)) %}
{% set multiselect_allSelectedText='alle' %}
{% set multiselect_allSelectedText='alle' %}
{% set multiselect_nSelectedText='gewählt' %}
{% set multiselect_nSelectedText='gewählt' %}
<label
for=
"field-groups"
class=
"control-label"
>
<label
for=
"field-groups"
class=
"control-label"
>
{{ groups_label }}
{{ groups_label }}
:
<span
title=
"{{ _('This field is required') }}"
class=
"control-required"
>
*
</span>
</label>
</label>
<div
class=
"controls"
>
<div
class=
"controls"
>
<div
class=
"row-fluid"
>
<div
class=
"row-fluid"
>
...
...
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