Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable bilingual field in creating new vocabulary and tags #2

Merged
merged 4 commits into from
Mar 2, 2022

Conversation

steveoni
Copy link
Collaborator

@steveoni steveoni commented Mar 1, 2022

this pr implement #1

@@ -41,13 +41,27 @@ def new():
if request.method == 'POST':
params = clean_dict(
dict_fns.unflatten(tuplize_dict(parse_params(request.form))))
log.debug("params")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove extra debug log

@@ -62,6 +76,8 @@ def read(id):

try:
vocab = get_action("vocabulary_show")(context, {'id': id})
log.debug("vocabulary_show")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@@ -0,0 +1,110 @@
{% block header_wrapper %} {% block header_account %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@steveoni I didn't understand what changed on the header template. Could you explain what change you made here? I think we should just extend the template instead of overriding the whole template.
{% ckan_extends %}

@sagargg
Copy link
Member

sagargg commented Mar 2, 2022

LGTM

@MuhammadIsmailShahzad MuhammadIsmailShahzad merged commit 3a7b8c6 into master Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants