bcgov / ckan-ui

CKAN UI - VueJS
GNU Affero General Public License v3.0
14 stars 3 forks source link

Update the email notification sent to administrators and system administrators (DDS-559, DDS-810) #162

Open yuisotozaki opened 4 years ago

yuisotozaki commented 4 years ago

Update the email notification sent to administrators and system administrators so that they use permalink rather than slugs if possible.

annikaLiving commented 3 years ago

This system also includes email notification to editors.

annikaLiving commented 3 years ago

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="&quot;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.

BrandonSharratt commented 3 years ago

See bcgov/ckanext-bcgov branch ckan-ui#162

annikaLiving commented 3 years ago
  1. Does this help @BrandonSharratt?
  2. Can text be bolded?
  3. Can we state that it from what state?
  4. Can the name of the Org be linked to the GUID form of the Org? I don't know how to get that from cat classica.

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 .

BrandonSharratt commented 3 years ago

https://github.com/bcgov/ckanext-bcgov/pull/868

ghost commented 3 years ago

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

ghost commented 2 years ago

https://dpdd.atlassian.net/browse/DDS-559 https://dpdd.atlassian.net/browse/DDS-810