Open yuisotozaki opened 4 years ago
This system also includes email notification to editors.
Email Template needs to be updated for content as well as field names have changed.
msg = ('<p>As a BC Data Catalogue $user_role for the $org - $sub_org, '
'please be advised that the publication state of this record: '
'<a href="$dataset_url">$dataset_url</a> is now "$dataset_state".<br><br>'
'If you are no longer an $user_role for $org - $sub_org or if you have a question or concern regarding this message '
'please contact DataBC Catalogue Services <a href=""mailto:datacat@gov.bc.ca">datacat@gov.bc.ca</a> .<br><br>Thanks.</p>')
Results in
As a BC Data Catalogue admin for the Ministry of Indigenous Relations and Reconciliation - Implementation and Land Services, please be advised that the publication state of this record: https://catalogue.data.gov.bc.ca/dataset/areas-of-interest-for-first-nations-reconciliation-initiatives is now "PENDING PUBLISH".
If you are no longer an admin for Ministry of Indigenous Relations and Reconciliation - Implementation and Land Services or if you have a question or concern regarding this message please contact DataBC Catalogue Services datacat@gov.bc.ca .
Thanks.
See bcgov/ckanext-bcgov branch ckan-ui#162
Subject:
BCDC- PENDING PUBLISH - Areas of Interest for First Nations Reconciliation Initiatives
Body:
As a BC Data Catalogue admin for Implementation and Land Services, please be advised that the publication state of this record is now set to "PENDING PUBLISH":
If you are no longer an admin for Implementation and Land Services or if you have a question or concern regarding this message please contact DataBC Data Discovery Services datacat@gov.bc.ca .
FW_ BCDC - PENDING PUBLISH Annika got super hair.pdf
The spacing and wording does not match the requirements above. Issues:
Sending back to spring backlog for fixing
Update the email notification sent to administrators and system administrators so that they use permalink rather than slugs if possible.