Skip to content

Commit

Permalink
Fix views
Browse files Browse the repository at this point in the history
Signed-off-by: Tushar Goel <[email protected]>
  • Loading branch information
TG1999 committed Oct 3, 2023
1 parent fc4c8c7 commit 4a20173
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
15 changes: 4 additions & 11 deletions vulnerabilities/templates/package_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,12 @@
</thead>
{% for log in history %}
<tr>
<td class="is-break-word">{{ log.date_published }}</td>
<td class="is-break-word">{{ log.message|safe }}</td>
<td class="is-break-word"> <a href="{{ log.source }}" target="_blank"> {{ log.source }} </a> </td>
<td class="is-break-word"> {{ log.vulnerablecode_version }} </td>
<td class="is-break-word wrap-strings">{{ log.date_published }}</td>
<td class="is-break-word wrap-strings">{{ log.message|safe }}</td>
<td class="is-break-word wrap-strings"> <a href="{{ log.source }}" target="_blank"> {{ log.source }} </a> </td>
<td class="is-break-word wrap-strings"> {{ log.vulnerablecode_version }} </td>
</tr>
{% endfor %}

<!-- {% for log in package_changelog %}
<tr>
<td class="wrap-strings">{{ log.date_published }}</td>
<td class="wrap-strings"><a href="{{ package.get_absolute_url }}?search={{ package.purl }}" target="_self">{{ package.purl }}</a></td>
</tr>
{% endfor %} -->
</table>
</div>

Expand Down
15 changes: 4 additions & 11 deletions vulnerabilities/templates/vulnerability_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,19 +312,12 @@
</thead>
{% for log in history %}
<tr>
<td class="is-break-word">{{ log.date_published }}</td>
<td class="is-break-word">{{ log.message|safe }}</td>
<td class="is-break-word"> <a href="{{ log.source }}" target="_blank"> {{ log.source }} </a> </td>
<td class="is-break-word"> {{ log.vulnerablecode_version }} </td>
<td class="is-break-word wrap-strings">{{ log.date_published }}</td>
<td class="is-break-word wrap-strings">{{ log.message|safe }}</td>
<td class="is-break-word wrap-strings"> <a href="{{ log.source }}" target="_blank"> {{ log.source }} </a> </td>
<td class="is-break-word wrap-strings"> {{ log.vulnerablecode_version }} </td>
</tr>
{% endfor %}

<!-- {% for log in package_changelog %}
<tr>
<td class="wrap-strings">{{ log.date_published }}</td>
<td class="wrap-strings"><a href="{{ package.get_absolute_url }}?search={{ package.purl }}" target="_self">{{ package.purl }}</a></td>
</tr>
{% endfor %} -->
</table>
</div>

Expand Down

0 comments on commit 4a20173

Please sign in to comment.