#42, support for stages in client router and LessonMenuService
This commit is contained in:
@ -567,6 +567,7 @@ public abstract class AbstractLesson extends Screen implements Comparable<Object
|
||||
link.append(getScreenId());
|
||||
link.append("/");
|
||||
link.append(getCategory().getRanking());
|
||||
|
||||
return link.toString();
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,7 @@ public class LessonMenuService extends BaseService {
|
||||
LessonMenuItem stageItem = new LessonMenuItem();
|
||||
stageItem.setName("Stage " + stageIdx + ": " + stage);
|
||||
// build the link for the stage
|
||||
String stageLink = lessonLink + "&stage=" + stageIdx;
|
||||
String stageLink = lessonLink + "/" + stageIdx;
|
||||
stageItem.setLink(stageLink);
|
||||
stageItem.setType(LessonMenuItemType.STAGE);
|
||||
if (rla.isStageComplete(ws, stage)) {
|
||||
|
Reference in New Issue
Block a user