Skip to content

Commit

Permalink
implement suggestions from review
Browse files Browse the repository at this point in the history
thanks @cah-patrickthiem

Signed-off-by: Matthias Büchse <[email protected]>
  • Loading branch information
mbuechse committed Oct 8, 2024
1 parent 0c57db6 commit 3f361c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compliance-monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Supports content type `text/plain; version=0.0.4; charset=utf-8` only.

### GET /{view_type}/table\[_full\]

Returns the compliance table for all active subjects, where `view_type` can be
Returns the compliance table for all active subjects, where `view_type` can be one of the following:

- `markdown`: return Markdown fragment (mimetype `text/markdown`)
- `fragment`: return HTML fragment (mimetype `text/html`)
Expand Down
3 changes: 2 additions & 1 deletion compliance-monitor/templates/details.md.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% for subject, subject_result in results.items() -%}
{# # {{ subject }} -#}
{# omit h1 title here because we can only have one of those,
and the html wrapper template will add one anyway -#}
{% for scopeuuid, scope_result in subject_result.items() -%}
## {{ scope_result.name }}

Expand Down

0 comments on commit 3f361c8

Please sign in to comment.