Skip to content

Commit

Permalink
Merge pull request #4108 from nscuro/issue-3978
Browse files Browse the repository at this point in the history
  • Loading branch information
nscuro authored Aug 31, 2024
2 parents ecc84c6 + ee89410 commit bd17623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/templates/notification/publisher/email.peb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Other affected projects:
Project: [{{ affectedProject.name }} : {{ affectedProject.version }}]
Project URL: {{ baseUrl }}/projects/{{ affectedProject.uuid }}
{% endif %}{% endfor %}{% endif %}{% elseif notification.group == "NEW_VULNERABLE_DEPENDENCY" %}
Project: {{ subject.component.project.toString }}
Project: [{{ subject.component.project.name }} : {{ subject.component.project.version }}]
Project URL: {{ baseUrl }}/projects/{{ subject.component.project.uuid }}
Component: {{ subject.component.toString }}
Component URL: {{ baseUrl }}/component/?uuid={{ subject.component.uuid }}
Expand Down Expand Up @@ -55,7 +55,7 @@ Source: {{ subject.vulnerability.source }}
{% endif %}
Component: {{ subject.component.toString }}
Component URL: {{ baseUrl }}/component/?uuid={{ subject.component.uuid }}
Project: {{ subject.component.project.toString }}
Project: [{{ subject.component.project.name }} : {{ subject.component.project.version }}]
Description: {{ subject.component.project.description }}
Project URL: {{ baseUrl }}/projects/{{ subject.component.project.uuid }}
{% if notification.subject.affectedProjects|length > 1%}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public void testInformWithNewVulnerableDependencyNotification() {
--------------------------------------------------------------------------------
Project: pkg:maven/org.acme/projectName@projectVersion
Project: [projectName : projectVersion]
Project URL: /projects/c9c9539a-e381-4b36-ac52-6a7ab83b2c95
Component: componentName : componentVersion
Component URL: /component/?uuid=94f87321-a5d1-4c2f-b2fe-95165debebc6
Expand Down Expand Up @@ -380,7 +380,7 @@ public void testInformWithProjectAuditChangeNotification() {
Component: componentName : componentVersion
Component URL: /component/?uuid=94f87321-a5d1-4c2f-b2fe-95165debebc6
Project: pkg:maven/org.acme/projectName@projectVersion
Project: [projectName : projectVersion]
Description: projectDescription
Project URL: /projects/c9c9539a-e381-4b36-ac52-6a7ab83b2c95
Expand Down

0 comments on commit bd17623

Please sign in to comment.