UMM-CSci / senior-seminar

Public materials for senior seminar, including assignments, past papers/slides, templates, etc.
https://umm-csci.github.io/senior-seminar/
9 stars 10 forks source link

Only allow for gold star options depending on what is existing #37

Closed emmahsax closed 4 years ago

emmahsax commented 4 years ago

Currently, if you have a semester where gold stars of presentations were given, but papers were not offered gold stars, the site will say that papers ONLY were still offered gold stars.

Here is an example of that: image

So, we should treat them separately. If there are stars for presentations, but not for papers, then say that there's only stars for presentations. If there's stars for papers, but not presentations, then don't even mention presentations. If there's both, then do what it currently does. If there's none, then say nothing.

So with these changes, the example page from above would show as this: image

emmahsax commented 4 years ago

@floogulinc This is ready for review!

emmahsax commented 4 years ago

@elenam This is still waiting for approval/opinions/comments/merge.