Skip to content

Commit 8362f62

Browse files
committed
Adding an Icon Alongside Each Gradeable Display
1 parent 50dbc4f commit 8362f62

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: output.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,9 @@ void start_table_output( bool /*for_instructor*/,
663663
std::string fullUrl = base_url + "courses/" + semester + "/" + course + "/gradeable/" + gradeable_id;
664664

665665
if (GRADEABLES[g].hasCorrespondence(gradeable_id)) {
666-
gradeable_name = GRADEABLES[g].getCorrespondence(gradeable_id).second;
667-
gradeable_name = "<a href=\"" + fullUrl + "\" style=\"color:black;\">" + gradeable_name + "&nbsp;&nbsp; <i class='fas fa-external-link-alt'></i></a>";
666+
gradeable_name = GRADEABLES[g].getCorrespondence(gradeable_id).second;
667+
gradeable_name = gradeable_name + " <i class='fa-solid fa-arrow-up-right-from-square' style='color:blue;'></i>";
668+
gradeable_name = "<a href=\"" + fullUrl + "\" style=\"color:black; text-decoration:none;\" title=\"View Gradeable\">" + gradeable_name + "</a>";
668669
}
669670

670671
if (gradeable_name == "")

0 commit comments

Comments
 (0)