forked from ckan/ckan-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/AuScope/ckan-docker into …
…dev-sample # Conflicts: # .env.dev # .gitignore # ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/header.html
- Loading branch information
Showing
18 changed files
with
273 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[bumpversion] | ||
current_version = 0.1.9 | ||
current_version = 0.2.1 | ||
commit = True | ||
tag = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
ckan/src/ckanext-auscope-theme/ckanext/auscope_theme/templates/contact/snippets/form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% ckan_extends %} | ||
|
||
{% block contact_form_fields %} | ||
|
||
{{ form.select('subject', label=_('Subject'), id='field-subject', | ||
selected=data.subject, error=errors.subject, classes=['control-medium'], | ||
options=[ | ||
{'text': _('General/Other Enquiry'), 'value': 'General/Other Enquiry'}, | ||
{'text': _('Large Data Upload'), 'value': 'Large Data Upload'}, | ||
{'text': _('Data Updates'), 'value': 'Data Updates'}, | ||
{'text': _('Data Access'), 'value': 'Data Access'} | ||
], | ||
is_required=true) }} | ||
|
||
|
||
{{ form.input('name', label=_('Contact Name'), id='field-name', value=data.name, | ||
error=errors.name, classes=['control-medium'], is_required=true) }} | ||
|
||
{{ form.input('email', label=_('Email'), id='field-email', type='email', | ||
value=data.email, error=errors.email, classes=['control-medium'], | ||
is_required=true) }} | ||
|
||
{{ form.textarea('content', label=_('Your Request'), id='field-content', | ||
value=data.content, error=errors.content, | ||
placeholder=_('What do you have to tell us?'), is_required=true) }} | ||
{% endblock %} |
7 changes: 0 additions & 7 deletions
7
ckan/src/ckanext-auscope-theme/ckanext/auscope_theme/templates/header.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/contact/snippets/form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% ckan_extends %} | ||
|
||
{% block contact_form_fields %} | ||
|
||
{{ form.select('subject', label=_('Subject'), id='field-subject', | ||
selected=data.subject, error=errors.subject, classes=['control-medium'], | ||
options=[ | ||
{'text': _('General/Other Enquiry'), 'value': 'General/Other Enquiry'}, | ||
{'text': _('Bulk Sample Upload'), 'value': 'Bulk Sample Upload'}, | ||
{'text': _('Collection/Samples Updates'), 'value': 'Collection/Samples Updates'}, | ||
{'text': _('Collection Creation/Access'), 'value': 'Collection Creation/Access'} | ||
], | ||
is_required=true) }} | ||
|
||
|
||
{{ form.input('name', label=_('Contact Name'), id='field-name', value=data.name, | ||
error=errors.name, classes=['control-medium'], is_required=true) }} | ||
|
||
{{ form.input('email', label=_('Email'), id='field-email', type='email', | ||
value=data.email, error=errors.email, classes=['control-medium'], | ||
is_required=true) }} | ||
|
||
{{ form.textarea('content', label=_('Your Request'), id='field-content', | ||
value=data.content, error=errors.content, | ||
placeholder=_('What do you have to tell us?'), is_required=true) }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.