Skip to content

Commit

Permalink
Merge pull request #132 from PCMDI/popn-dataset
Browse files Browse the repository at this point in the history
Add placeholder for population dataset
  • Loading branch information
znichollscr authored Oct 15, 2024
2 parents 4518c22 + 030582a commit c5054b8
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
2 changes: 2 additions & 0 deletions changelog/132.docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a placeholder for population inputs.
- Increased the default number of entries shown on the table views to 25 to accomodate the new dataset.
2 changes: 1 addition & 1 deletion docs/database-views/input4MIPs_datasets_CMIP6Plus.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script type="text/javascript">
//<![CDATA[
$(document).ready( function () {
$('#table_id').DataTable();
$('#table_id').DataTable({pageLength: 25});
} );
//]]>
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script type="text/javascript">
//<![CDATA[
$(document).ready( function () {
$('#table_id').DataTable();
$('#table_id').DataTable({pageLength: 25});
} );
//]]>
</script>
Expand Down Expand Up @@ -118,6 +118,13 @@ <h4>
<td>Depends on 1, test dataset being produced in the meantime</td>
<td>Expected: ~November 2024; Expected a month after dependent datasets</td>
</tr>
<tr>
<td>11</td>
<td>Population</td>
<td>TBD</td>
<td>Unknown: data provider TBD</td>
<td>Expected: Unknown: data provider TBD</td>
</tr>
</table>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/database-views/input4MIPs_files_CMIP6Plus.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script type="text/javascript">
//<![CDATA[
$(document).ready( function () {
$('#table_id').DataTable();
$('#table_id').DataTable({pageLength: 25});
} );
//]]>
</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/database-views/input4MIPs_source-id_CMIP6Plus.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script type="text/javascript">
//<![CDATA[
$(document).ready( function () {
$('#table_id').DataTable();
$('#table_id').DataTable({pageLength: 25});
} );
//]]>
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,13 @@ def get_delivery_summary_view(
"url": None,
"status": "Depends on 1, test dataset being produced in the meantime",
},
{
"source_id": None, # TBD
"description": "Population",
"expected_publication": "Unknown: data provider TBD",
"url": None,
"status": "Unknown: data provider TBD",
},
]

res_l = []
Expand Down Expand Up @@ -820,7 +827,8 @@ def write_db_view_as_html(
'<script type="text/javascript">',
"//<![CDATA[",
"$(document).ready( function () {",
" $('#table_id').DataTable();",
# " $('#table_id').DataTable();",
" $('#table_id').DataTable({pageLength: 25});",
" } );",
"//]]>",
"</script>",
Expand Down

0 comments on commit c5054b8

Please sign in to comment.