Skip to content

Commit

Permalink
system: add publish date to annoucement
Browse files Browse the repository at this point in the history
Some minor style changes, now clicks date instead of title.

PR: https://forum.opnsense.org/index.php?topic=41972.0
  • Loading branch information
fichtner committed Aug 5, 2024
1 parent b9f2b5b commit 929d779
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/opnsense/www/js/widgets/Announcements.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ export default class Announcements extends BaseTableWidget {
description = $('<div/>').html(description).text();
rows.push(`
<div>
<a href="${link}" target='_new'">${title}</a>
<strong class="text-primary">${title}</strong>
</div>
<div>
<small><em><a href="${link}" target="_new" class="text-muted">${pubDate}</a></em></small>
</div>
<div>
${description}
Expand Down

0 comments on commit 929d779

Please sign in to comment.