Commit 97ca3f7e authored by Curtis Adam's avatar Curtis Adam

Don't display the cardset same on the lecturer bonus transcript list

parent 5d056e27
......@@ -38,7 +38,11 @@ Template.filterIndexItemCard.helpers({
let bonusTranscript = TranscriptBonus.findOne({card_id: this._id});
if (bonusTranscript !== undefined) {
bonusTranscript.name = Cardsets.findOne({_id: bonusTranscript.cardset_id}).name;
return TranscriptBonusList.getLectureName(bonusTranscript, false, false);
if (Route.isTranscriptBonus()) {
return TranscriptBonusList.getLectureInfo(bonusTranscript, bonusTranscript.date, false, false);
} else {
return TranscriptBonusList.getLectureName(bonusTranscript, false, false);
}
}
},
isMyBonusTranscriptsRouteAndDeadlineExpired: function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment