My Courses Page modification

lauren
Forums
On /my-courses page can there be some sort of a retake button to the right of a column where the user failed (i.e. Where the score is red below)? Using javascript, it looks like I could check the classes for the suffix "-passed" or "-failed" and if it's "-failed", append the "Retake"button to the row but maybe that's not the best solution. (it may only need to be on that 1 /my-courses page though, not in the Statistics page, etcetera) This looks like a relevant file although I'll have to look into how to override it: /profiles/opigno_lms/modules/opigno/opigno_quiz_app/opigno_quiz_app.module However, is the “start lesson” URL always formatted like this: http://demo.opigno.org/node/18/take if the Lesson URL is formatted like this?: http://demo.opigno.org/quiz/18/course-presentation I’m wondering in case I need to assemble that “start lesson” URL from what's already on the page. Also, what's the best way to change the "Start" button text on that page to "Resume" if the user has already started Lessons in the Course? Using javascript, it looks like I could check the classes for the suffix "-passed" or "-failed" again, and if there's no such class, then the button should remain as a "Start" button, whereas, if there is such a class, then the text can be "Resume". Thank you