Skip to content

Commit

Permalink
chg: [website] The list of impacted products will now unfold when the…
Browse files Browse the repository at this point in the history
… user clicks on the chevron.
  • Loading branch information
cedricbonhomme committed Jan 21, 2025
1 parent 9a0829a commit a6bfe88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/web/templates/vulnerability_templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ <h6 class="card-subtitle mb-2 text-body-secondary">
{% if vulnerability_data['containers']['cna']['affected'] %}
<!-- First Row with Toggle for the First Element -->
{% set first_elem = vulnerability_data['containers']['cna']['affected'][0] %}
<tr data-bs-toggle="collapse" data-bs-target="#collapseProductTable{{ vulnerability_id }}" aria-expanded="false" aria-controls="collapseProductTable{{ vulnerability_id }}">
<td><span class="chevron"></span></td>
<tr>
<td data-bs-toggle="collapse" data-bs-target="#collapseProductTable{{ vulnerability_id }}" aria-expanded="false" aria-controls="collapseProductTable{{ vulnerability_id }}"><span class="chevron"></span></td>
<td><a href="{{ url_for('home_bp.search', vendor=first_elem['vendor']) }}">{{ first_elem['vendor'] }}</a></td>
<td><a href="{{ url_for('home_bp.search', vendor=first_elem['vendor'], product=first_elem['product']) }}">{{ first_elem['product'] }}</a></td>
<td>
Expand Down

0 comments on commit a6bfe88

Please sign in to comment.