~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/media/specialhome.js

Semesters now have separate URL name, display name and code attributes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
         * about which offering we are talking about */
72
72
        if (subject.state != "current")
73
73
        {
74
 
            h3.find('.semester').text(" (" + subject.year + ", semester "
75
 
                                      + subject.semester + ")");
 
74
            h3.find('.semester').text(" (" + subject.year + " " + subject.semester_display + ")");
76
75
        }
77
76
        h3.find('a').attr('href', subject.url);
78
77
        $(specialhomediv).append(h3);
91
90
            var group = subject.groups[j];
92
91
            ul.appendChild(make_subject_item(subjpath,
93
92
                path_join("groups", subject.subj_short_name + "_" +
94
 
                          subject.year + "_" + subject.semester + "_" +
 
93
                          subject.year + "_" + subject.semester_url + "_" +
95
94
                          group.name),
96
95
                group.name,
97
96
                "This group's files in this subject"));