Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 15 additions & 4 deletions scripts/list_item.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,25 @@ function createListGroupItemForIssue(issue) {
heading_div.setAttribute("class", "d-flex justify-content-between");

// Issue's title
// Create the h5 container
let heading_h5 = document.createElement("h5");
heading_h5.setAttribute("class",
"issue-title mb-0 d-inline-block text-truncate");
heading_h5.setAttribute("class", "issue-title mb-0 d-inline-block text-truncate");
heading_h5.setAttribute("aria-label", `Issue: ${issue_title}`);
let issue_title_textnode = document.createTextNode(issue_title);
heading_h5.appendChild(issue_title_textnode);

// Create the anchor tag for the clickable issue title
let issue_link = document.createElement("a");
issue_link.setAttribute("href", issue_url);
issue_link.setAttribute("target", "_blank");
issue_link.setAttribute("class", "text-decoration-none text-dark"); // Optional styling
issue_link.textContent = issue_title;

// Append the link inside the h5
heading_h5.appendChild(issue_link);

// Append the h5 to its container
heading_div.appendChild(heading_h5);


// Time of issue
let time_of_issue = document.createElement("p");
time_of_issue.setAttribute("class", "mb-1 text-justify font-weight-light");
Expand Down