Skip to content

Commit

Permalink
Fix disable author name and do not display the additional timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Petar Popovski committed Feb 13, 2024
1 parent 33fd916 commit beea847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ckanext/scheming/templates/scheming/form_snippets/radio.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,7 @@
}
}
toggleFields();
document.getElementById('field-author').disabled = true;

document.getElementById('field-type_of_dataset').addEventListener('change', toggleFields);
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
{%- block pkg_dict_created -%}
<tr>
<th scope="row">{{ _('Upload dataset') }}</th>
{{pkg_dict.metadata_created}}
<td>{{ h.render_datetime(pkg_dict.metadata_created, date_format = "%B %d, %Y %H:%M:%S") or _('unknown') }}</td>
</tr>
{%- endblock -%}
Expand Down

0 comments on commit beea847

Please sign in to comment.