-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report types listed in a modal @ report plugins (#3718)
Co-authored-by: stephanie0x00 <[email protected]> Co-authored-by: Jan Klopper <[email protected]>
- Loading branch information
1 parent
3592e41
commit 8f41293
Showing
10 changed files
with
126 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
rocky/katalogus/templates/partials/modal_report_types.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% load i18n %} | ||
|
||
<a href="#{{ plugin_id }}-report-types-modal" | ||
class="tile-report-types-link">{% translate "Required for" %} {{ report_types|length }} {% translate "report types" %}<span aria-hidden="true" class="icon ti-chevron-right"></span></a> | ||
{% with modal_id=plugin.id|add:"-report-types-modal" %} | ||
{% component "modal" modal_id=modal_id size="dialog-medium" %} | ||
{% fill "header" %} | ||
{% translate "Report types for " %}{{ plugin.name }} | ||
{% endfill %} | ||
{% fill "content" %} | ||
<section> | ||
<div> | ||
<ul class="tags report-types"> | ||
{% for plugin_id, report_types in plugin_report_types.items %} | ||
{% if plugin_id == plugin.id %} | ||
{% for report_type in report_types %} | ||
<li> | ||
<span class="tags-color-{{ report_type.label_style }}">{{ report_type.name }}</span> | ||
</li> | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</section> | ||
{% endfill %} | ||
{% fill "footer_buttons" %} | ||
{% endfill %} | ||
{% endcomponent %} | ||
{% component_css_dependencies %} | ||
{% endwith %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-12 15:31+0000\n" | ||
"POT-Creation-Date: 2024-11-18 15:24+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -1019,6 +1019,18 @@ msgstr "" | |
msgid "Tableview" | ||
msgstr "" | ||
|
||
#: katalogus/templates/partials/modal_report_types.html | ||
msgid "Required for" | ||
msgstr "" | ||
|
||
#: katalogus/templates/partials/modal_report_types.html | ||
msgid "report types" | ||
msgstr "" | ||
|
||
#: katalogus/templates/partials/modal_report_types.html | ||
msgid "Report types for " | ||
msgstr "" | ||
|
||
#: katalogus/templates/partials/objects_to_scan.html | ||
#: rocky/templates/findings/finding_list.html | ||
#: rocky/templates/forms/widgets/checkbox_group_table.html | ||
|
@@ -4479,7 +4491,7 @@ msgstr "" | |
|
||
#: reports/views/report_overview.py | ||
msgid "" | ||
"Multiorganization report cannot go through a rerun. It consists of imported " | ||
"Multi organization reports cannot be rescheduled. It consists of imported " | ||
"data from different organizations and not based on new generated data." | ||
msgstr "" | ||
|
||
|