Skip to content

Commit

Permalink
Revert "updated-team-meeting-data-6920 (#7043)"
Browse files Browse the repository at this point in the history
This reverts commit dc11c65.
  • Loading branch information
t-will-gillis authored Jul 2, 2024
1 parent 8996d42 commit aeb17b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions _includes/events-page/right-col-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ <h4 class="day-header-1 title7">{{day}}</h4>
</div>
{% endfor %}
</div>
<p>*This meeting is not weekly, check project link for more details.</p>
</div>

<script src="../../assets/js/right-col-content.js" type="module"></script>
<script src="../../assets/js/right-col-content.js" type="module"></script>
10 changes: 4 additions & 6 deletions assets/js/right-col-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ function insertEventSchedule(eventData, page) {
}
let eventHtml;
// insert the correct html for the current page
// &#42; is "*", which indicates a meeting that is not weekly
if (page === "events") {
eventHtml = `<li>${event.start} - ${event.end} </li><li><a href="${event.hflaWebsiteUrl}">${event.name}</a> ${event.meetingName}${event.isWeekly === false ? '&#42;' : ''}</li>`;
eventHtml = `<li>${event.start} - ${event.end} </li><li><a href="${event.hflaWebsiteUrl}">${event.name}</a> ${event.meetingName}</li>`;
} else {
if(event.dsc != "") event.meetingName += ", ";
eventHtml = `<li>${event.start} - ${event.end} <a href="${event.hflaWebsiteUrl}">${event.name}</a> ${event.meetingName} ${event.dsc}</li>`;
Expand Down Expand Up @@ -118,10 +117,9 @@ function insertEventSchedule(eventData, page) {
start: localeTimeIn12Format(item.startTime),
end: localeTimeIn12Format(item.endTime),
hflaWebsiteUrl: item.project.hflaWebsiteUrl,
githubUrl: item.project.githubUrl,
isWeekly: item.isWeekly,
};
return rv_object;
githubUrl: item.project.githubUrl,
};
return rv_object;
}
}

0 comments on commit aeb17b8

Please sign in to comment.