Skip to content

Commit

Permalink
Wordpress Pages Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odiengineering committed Dec 30, 2024
1 parent e72c78f commit 1544366
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 0 deletions.
139 changes: 139 additions & 0 deletions pages/cannabis-recalls-archive.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<p>Recalls prior to 2024 are listed below. Click or tap on the recall date or product name to learn more about a specific recall. </p>

<link rel="stylesheet" href="https://cdn.datatables.net/1.13.6/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.5.0/css/responsive.dataTables.min.css">
<script src="https://code.jquery.com/jquery-3.7.0.js"></script>
<script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/responsive/2.5.0/js/dataTables.responsive.min.js"></script>
<script src="https://cdn.datatables.net/colreorder/1.5.4/js/dataTables.colReorder.min.js"></script>
<div id="breakpoint"></div>
<table id="recall_table" class="display compact" width="100%">
<thead>
<tr>
<th class="min-phone-l">Recall Date</th>
<th class="none">Recall Type:</th>
<th class="all">Product Description</th>
<th class="desktop tablet">Product Type</th>
<th class="desktop">Recall Reason</th>
<th class="none">Legal Business Name:</th>
<th class="all">Recall Overview</th>
</tr>
</thead>
<tbody>
<tr>
<td>1/26/22</td>
<td>Mandatory</td>
<td><a href="/resources/cannabis-recalls-and-safety-notices/mandatory-recall-2022-01-26/">Claybourne Co. Head Banger </a> </td>
<td>Flower</td>
<td>Adulterated: Microbial Contamination (Aspergillus) </td>
<td>Ci Distribution, LLC</td>
<td> &nbsp; </br></br>
<p>Mandatory recall of a single Claybourne Co. product.</p>
</td>
</tr>

<tr>
<td>11/20/23</td>
<td>Voluntary</td>
<td><a href="/resources/cannabis-recalls-and-safety-notices/left-coast-llc-lil-leftys/">Lil Leftys Premium Infused &ndash; 5 Mini Blunts, Maui Waui</a></td>
<td>Infused Pre-Roll</td>
<td>Adulterated and Misbranded: Labeling (THC concentration exceeds allowable limits)</td>
<td>Left Coast, LLC</td>
<td> &nbsp; </br></br>
<p>Voluntary recall of a single Lil Leftys Premium Infused – 5 Mini Blunts product.</p>
</td>
</tr>
<tr>
<td>7/14/23</td>
<td>Voluntary</td>
<td><a href="/2023/07/voluntary-recall-last-minute-venture-llc-cannalean-brand-products/">Cannalean brand products</a></td>
<td>Tincture</td>
<td>Labeling: Incorrect government warning </td>
<td>Last Minute Venture, LLC</td>
<td> &nbsp; </br></br>
<p>Voluntary recall of multiple Cannalean brand products.</p>
</td>
</tr>
<tr>
<td>5/19/23</td>
<td>Voluntary</td>
<td>Cann-branded beverages (cans)</td>
<td>Beverage</td>
<td>Packaging: Safety issues </td>
<td>RCW Manufacturing</td>
<td> &nbsp; </br></br>
<p>Voluntary recall of multiple Cann-branded products. <a href="https://cdn.e8.co/Kiva/S3Images/cb70bdbddaccf7905c0f7f6c486322c6.pdf">Download the Cann Product Advisory</a></p>
</td>
</tr>
<tr>
<td>12/23/22</td>
<td>Voluntary</td>
<td>Mary Jones Soda&nbsp;&#8211; Rootbeer and Orange &#038; Cream (12 fl. Oz. Bottles)</td>
<td>Beverage</td>
<td>Packaging: Safety issues</td>
<td>Lakewood Libations, Inc.</td>
<td> &nbsp; </br></br>
<p>Voluntary recall of multiple Mary Jones Soda products.</p>
</td>
</tr>
<tr>
<td>10/13/22</td>
<td>Voluntary</td>
<td>530 Grower&nbsp;&#8211; GMO flower</td>
<td>Flower</td>
<td>Adulterated: Microbial Contamination (Aspergillus) </td>
<td>Metta Distribution</td>
<td> &nbsp; </br></br>
<p>Voluntary recall of multiple 530 Grower-GMO products. <a href="https://www.perfect-union.com/public-notice/">View&nbsp;the company-issued Public Notice</a></p>
</td>
</tr>
<tr>
<td>9/28/22</td>
<td>Voluntary</td>
<td>Haute Sauce cannabis-infused hot sauce</td>
<td>Edible</td>
<td>Prohibited product: Acidified cannabis product </td>
<td>Refined Xtractions</td>
<td> &nbsp; </br></br>
<p>Voluntary recall of a single Haute Sauce product.</p>
</td>
</tr>
</tbody>
</table>
<script>
$(document).ready(function () {
const vol_table = new DataTable('#recall_table', {
columns: [
{
data: 'date',
type: 'date'
},
{ data: 'recall' },
{ data: 'product' },
{ data: 'type' },
{ data: 'reason' },
{ data: 'business' },
{ data: 'details' }
],
responsive: true,
colReorder: true,
order: [[0, 'des']]
});
const newColumnOrder = [0, 2, 6, 1, 3, 4, 5]
vol_table.colReorder.order(newColumnOrder).draw();
if (vol_table.page.info().recordsTotal <= 10) {
$('.dataTables_paginate').hide();
$('.dataTables_info').hide();
$('.dataTables_length').hide();
}
});
</script>

<style>
.post-date{
display:none;
}
.pdf-link-icon{
display:none;
}
</style>
97 changes: 97 additions & 0 deletions pages/cannabis-recalls-archive.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"meta": {
"created_date": "2024-12-30T21:41:36",
"updated_date": "2024-12-30T22:19:55",
"field_reference": "https://developer.wordpress.org/rest-api/reference/pages/",
"api_version": "v2",
"api_url": "https://api.cannabis.ca.gov/wp-json/wp/v2/",
"object_url": "https://api.cannabis.ca.gov/wp-json/wp/v2/pages/21539",
"process": {
"source_code": "https://github.com/cagov/wordpress-to-github",
"source_data": "https://api.cannabis.ca.gov",
"deployment_target": "https://github.com/cagov/static-content-cannabis/tree/main"
},
"refresh_frequency": "as needed"
},
"data": {
"id": 21539,
"date": "2024-12-30T13:41:36",
"date_gmt": "2024-12-30T21:41:36",
"guid": "https://api.cannabis.ca.gov/?page_id=21539",
"modified": "2024-12-30T14:19:55",
"modified_gmt": "2024-12-30T22:19:55",
"slug": "cannabis-recalls-archive",
"status": "publish",
"type": "page",
"link": "https://api.cannabis.ca.gov/resources/cannabis-recalls-and-safety-notices/cannabis-recalls-archive/",
"title": "Cannabis recalls archive",
"excerpt": "<p>Recalls prior to 2024 are listed below. Click or tap on the recall date or product name to learn more about a specific recall. Recall Date Recall Type: Product Description Product Type Recall Reason Legal Business Name: Recall Overview 1/26/22 Mandatory Claybourne Co. Head Banger Flower Adulterated: Microbial Contamination (Aspergillus) Ci Distribution, LLC &nbsp; Mandatory [&hellip;]</p>\n",
"author": 32,
"featured_media": 0,
"parent": 9345,
"menu_order": 0,
"comment_status": "closed",
"ping_status": "closed",
"template": "/code/wp-content/plugins/ca-design-system-gutenberg-blocks/includes/templates/template-page-single-column.php",
"meta": {
"_stopmodifiedupdate": false,
"_modified_date": "",
"footnotes": ""
},
"categories": [
"Recalls and safety notices"
],
"tags": [],
"design_system_fields": {
"template": "template-page-single-column"
},
"og_meta": {
"editor": {
"platform": "WordPress",
"plugin": "autodescription",
"plugin_name": "The SEO Framework",
"plugin_version": "4.1.5.1",
"editor_url": "https://api.cannabis.ca.gov"
},
"site_name": "Department of Cannabis Control",
"site_description": "Learn about California cannabis laws and licenses",
"site_url": "https://api.cannabis.ca.gov",
"canonical_url": "https://api.cannabis.ca.gov/resources/cannabis-recalls-and-safety-notices/cannabis-recalls-archive/",
"page_title": "Cannabis recalls archive",
"page_description": "Learn about California cannabis laws and licenses",
"page_social_image_url": "https://api.cannabis.ca.gov/wp-content/uploads/2021/07/cropped-Cannabis_horizontal_social.png",
"page_social_image_width": 1200,
"page_social_image_height": 630,
"page_social_image_alt": "",
"meta_title": "Cannabis recalls archive",
"meta_description": "Learn about California cannabis laws and licenses",
"meta_canonical_url": "https://api.cannabis.ca.gov/resources/cannabis-recalls-and-safety-notices/cannabis-recalls-archive/",
"open_graph_title": "Cannabis recalls archive",
"open_graph_description": "Learn about California cannabis laws and licenses",
"twitter_title": "Cannabis recalls archive",
"twitter_description": "Learn about California cannabis laws and licenses"
},
"headless_categories": [
{
"term_id": 812,
"name": "Recalls and safety notices",
"slug": "recalls-and-safety-notices",
"term_group": 0,
"term_taxonomy_id": 812,
"taxonomy": "category",
"description": "",
"parent": 0,
"filter": "raw",
"cat_ID": 812,
"category_description": "",
"cat_name": "Recalls and safety notices",
"category_nicename": "recalls-and-safety-notices",
"category_parent": 0
}
],
"headless_tags": [],
"headless_publishing": [],
"headless_preview": [],
"wordpress_url": "https://api.cannabis.ca.gov/resources/cannabis-recalls-and-safety-notices/cannabis-recalls-archive/"
}
}

0 comments on commit 1544366

Please sign in to comment.