Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

A support for comments on data requests #6

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

A support for comments on data requests #6

wants to merge 5 commits into from

Conversation

salsa-nathan
Copy link
Contributor

@salsa-nathan salsa-nathan commented Feb 6, 2020

Purpose

This pull request adds functionality to support comments on data requests (ckanext-datarequests) using the YTP comments extension.

Approach

  • Introduces the content_type concept to support content types such as data requests, in addition to existing dataset commenting.

  • Provides helper functions to address the differences between routes and permissions of datasets and data requests.

  • Adds template overrides for the data requests comment and show templates.

  • CKAN routes were added to handle generic display, submission, editing and deleting of comments, with dataset being the default content type.

@salsa-nathan salsa-nathan marked this pull request as ready for review February 6, 2020 23:30
@salsa-nathan salsa-nathan changed the title Feature/data request comments A support for comments on data requests Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant