Skip to content

Commit

Permalink
Merge pull request #735 from GSA/ECASOGP-15589
Browse files Browse the repository at this point in the history
  • Loading branch information
attorri authored Dec 13, 2024
2 parents 1cd4039 + 393942f commit cae44da
Show file tree
Hide file tree
Showing 22 changed files with 2,117 additions and 2,986 deletions.
7 changes: 7 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ collections:
output: true
it-services:
output: true
mom:
output: true

keep_files: [static-api]

Expand Down Expand Up @@ -460,6 +462,11 @@ page_gen:
index_files: true # true
name_expr: "record['type']"
title: "record['type']"
- data: "mom.Business_Lifecycle"
template: "json-gen-layout"
dir: "business-standards-api/mom/business-lifecycle"
index_files: true
name_expr: "record['type']"
- data: "cvd.Business_Lifecycle"
template: "json-gen-layout"
dir: "business-standards-api/cyb/cvd/business-lifecycle/"
Expand Down
1,133 changes: 1,133 additions & 0 deletions _data/mom.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions _includes/business-standards-api/mom/mom-capabilities.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% for post in site.data.mom.Business_Capabilities %}
{{ post | remove: '<p>' | remove: '</p>' | replace: "=>", ":" | strip_newlines }}{% unless forloop.last %},{% endunless %}
{% endfor %}
3 changes: 3 additions & 0 deletions _includes/business-standards-api/mom/mom-lifecycle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% for post in site.data.trt.Business_Lifecycle %}
{{ post | remove: '<p>' | remove: '</p>' | replace: "=>", ":" | strip_newlines }}{% unless forloop.last %},{% endunless %}
{% endfor %}
50 changes: 50 additions & 0 deletions _includes/mom/capabilities.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html>
<head>
<style>
#mom-capabilities {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
}
#mom-capabilities th, #mom-capabilities td {
white-space: normal;
word-wrap: break-word;
text-align: left;
vertical-align: top;
padding: 4px;
border-bottom: 1px solid #ddd;
}
#mom-capabilities thead th {
background-color: #f4f4f4;
font-weight: bold;
}
@media (max-width: 768px) {
#mom-capabilities th, #mom-capabilities td {
font-size: 12px;
padding: 3px;
}
}
</style>
</head>
<body>
<table id="mom-capabilities" data-page-length="15" class="display responsive" style="width:100%" aria-label="Mail Operations Management Business Capabilities">
<thead>
<tr>
<th scope="col">Capability ID</th>
<th scope="col">Function</th>
<th scope="col">Activity Name</th>
<th scope="col">
Input/
Output/
Process
</th>
<th scope="col">Business Capability Statement</th>
<th scope="col">Authoritative Reference</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</body>
</html>
71 changes: 71 additions & 0 deletions _includes/mom/lifecycle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<p><i>Select from the list of available functions to view associated activities</i></p>
<div id="mom-lifecycle" class="usa-accordion usa-accordion--bordered" data-allow-multiple>
<div>
<button class="usa-accordion__button" aria-expanded="false" aria-controls="b-a1">
MOM.010 Agency Mail Operations Management Strategy and Planning
</button>
<div id="b-a1" class="usa-accordion__content usa-prose">
<table id="mom-010" aria-label="MOM.010 Agency Mail Operations Management Strategy and Planning">
<thead>
<tr>
<th class="capability_class" scope="col"><strong><strong><em>Identifier</em></strong></strong></th>
<th class="capability_class" scope="col"><strong><em>Activity</em></strong></th>
<th class="capability_class" scope="col"><strong><em>Description</em></strong></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<div>
<button class="usa-accordion__button" aria-expanded="false" aria-controls="b-a2">
MOM.020 Agency Mail Operations Budget Management
</button>
<div id="b-a2" class="usa-accordion__content usa-prose">
<table id="mom-020" aria-label="MOM.020 Agency Mail Operations Budget Management">
<thead>
<tr>
<th class="capability_class" scope="col"><strong><strong><em>Identifier</em></strong></strong></th>
<th class="capability_class" scope="col"><strong><em>Activity</em></strong></th>
<th class="capability_class" scope="col"><strong><em>Description</em></strong></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<div>
<button class="usa-accordion__button" aria-expanded="false" aria-controls="b-a3"> MOM.030 Mail Center Operations </button>
<div id="b-a3" class="usa-accordion__content usa-prose">
<table id="mom-030" aria-label="MOM.030 Mail Center Operations">
<thead>
<tr>
<th class="capability_class" scope="col"><strong><strong><em>Identifier</em></strong></strong></th>
<th class="capability_class" scope="col"><strong><em>Activity</em></strong></th>
<th class="capability_class" scope="col"><strong><em>Description</em></strong></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<div>
<button class="usa-accordion__button" aria-expanded="false" aria-controls="b-a4"> MOM.040 Agency Mail Operations Reporting </button>
<div id="b-a4" class="usa-accordion__content usa-prose">
<table id="mom-040" aria-label="MOM.040 Agency Mail Operations Reporting">
<thead>
<tr>
<th class="capability_class" scope="col"><strong><strong><em>Identifier</em></strong></strong></th>
<th class="capability_class" scope="col"><strong><em>Activity</em></strong></th>
<th class="capability_class" scope="col"><strong><em>Description</em></strong></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
4 changes: 4 additions & 0 deletions _layouts/json-gen-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
{% assign bs = site.data.trt.Business_Lifecycle | where: 'type', page.title | first %}
{% endif %}

{% if page.url contains "mom" %}
{% assign bs = site.data.mom.Business_Lifecycle | where: 'type', page.title | first %}
{% endif %}

{% if page.url contains "cyb/cvd/" %}
{% assign bs = site.data.cvd.Business_Lifecycle | where: 'type', page.title | first %}
{% endif %}
Expand Down
9 changes: 9 additions & 0 deletions _pages/business-standards-api/all-business-standards.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@
"Service Measures": {% include business-standards-api/erm/erm-performance-metrics.html %}
},
{
"Business-Standards": "Mail Operations Management",
"Business Lifecycle": {% raw %}[{{% endraw %}
{% for post in site.data.mom.Business_Lifecycle %}
"{{post.type |strip_newlines}}": {{ post["data"] | remove: '<p>' | remove: '</p>' | replace: "=>", ":" | strip_newlines }}{% unless forloop.last %},{% endunless %}
{% endfor %}
{% raw %}}],{% endraw %}
"Business Capabilities": [{% include business-standards-api/mom/mom-capabilities.html %}],
},
{
"Business-Standards": "Travel and Expense Management Standards",
"Business Lifecycle": {% raw %}[{{% endraw %}
{% for post in site.data.trt.Business_Lifecycle %}
Expand Down
9 changes: 9 additions & 0 deletions _pages/business-standards-api/mom/business-lifecycle-mom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: List of all posts
permalink: /business-standards-api/mom/business-lifecycle/
---
{% raw %}{{% endraw %}
{% for post in site.data.mom.Business_Lifecycle %}
"{{post.type |strip_newlines}}": {{ post["data"] | remove: '<p>' | remove: '</p>' | replace: "=>", ":" | strip_newlines }}{% unless forloop.last %},{% endunless %}
{% endfor %}
{% raw %}}{% endraw %}
16 changes: 16 additions & 0 deletions _pages/business-standards-api/mom/business-standards-mom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: List of all posts
permalink: /business-standards-api/mom/
---
{
"Business-Standards": "Mail Operations Management",
"Business Lifecycle": {% raw %}[{{% endraw %}
{% for post in site.data.mom.Business_Lifecycle %}
"{{post.type |strip_newlines}}": {{ post["data"] | remove: '<p>' | remove: '</p>' | replace: "=>", ":"| strip_newlines }}{% unless forloop.last %},{% endunless %}
{% endfor %}
{% raw %}}],{% endraw %}
"Business Capabilities": [{% include business-standards-api/mom/mom-capabilities.html %}],
"Business Use Cases": {% include business-standards-api/rpm/rpm-use-cases.html %},
"Standard Data Elements": {% include business-standards-api/rpm/rpm-data-elements.html %},
"Service Measures": {% include business-standards-api/rpm/rpm-performance-metrics.html %}
}
5 changes: 5 additions & 0 deletions _pages/business-standards-api/mom/capabilities-mom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: List of all posts
permalink: /business-standards-api/mom/capabilities/
---
[{% include business-standards-api/mom/mom-capabilities.html %}]
10 changes: 10 additions & 0 deletions _pages/fibf-business-standards/fibf-mom.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,14 @@ sub-title: Mail Operations Management
sec-title: Mail Operations Management Lead
sec-name: GSA
contact: [email protected]
lifecycle-pdf: assets/files/downloads/mom/Mail Operations Management Business Lifecycle.xlsx
lifecycle-json-api: /business-standards-api/mom/business-lifecycle/
lifecycle-content: mom/lifecycle.html
capabilities-source-document-type: xls
lifecycle-source-document-type: xls
lifecycle-source-document: assets/files/downloads/mom/Mail Operations Management Business Lifecycle.xlsx
capabilities-source-document: assets/files/downloads/mom/Mail Operations Management Business Capabilities.xlsx
capabilities-pdf: assets/files/downloads/mom/Mail Operations Management Business Capabilities.xlsx
capabilities-json-api: /business-standards-api/mom/capabilities/
capabilities-content: mom/capabilities.html
---
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ jQuery(document).ready(function () {
accordian: 'eeo-lifecycle',
url: prefixUrl.concat('/business-standards-api/eeo'),
hasSubsection: false
},
{
accordian: 'mom-lifecycle',
table: 'mom-capabilities',
url: prefixUrl.concat('/business-standards-api/mom'),
hasSubsection: false
}
];
function imageChecker(url){
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified json_generation/__pycache__/extract.cpython-312.pyc
Binary file not shown.
Loading

0 comments on commit cae44da

Please sign in to comment.