Rev 1817 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1817 | Rev 1821 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | String importYear = request.getParameter("importYear"); |
29 | String importYear = request.getParameter("importYear"); |
30 | request.setAttribute("importYear",importYear); |
30 | request.setAttribute("importYear",importYear); |
31 | for(Course course: courses) |
31 | for(Course course: courses) |
32 | { |
32 | { |
- | 33 | if(course.isStatus()) |
|
- | 34 | { |
|
33 | request.setAttribute("course",course); |
35 | request.setAttribute("course",course); |
34 | %> |
36 | %> |
35 | <div class="col-md-6"> |
37 | <div class="col-md-6"> |
36 | <html:link styleClass="btn btn-default btn-lg btn-block btn-huge" action="/user/loadCourseReportTools?courseId=${course.id}&importYear=${importYear}"> |
38 | <html:link styleClass="btn btn-default btn-lg btn-block btn-huge" action="/user/loadCourseReportTools?courseId=${course.id}&importYear=${importYear}"> |
37 | <span class="glyphicon glyphicon-wrench"></span> ${course.code} - <bean:message key="course.${course.degree}"/> - ${course.name} |
39 | <span class="glyphicon glyphicon-wrench"></span> ${course.code} - <bean:message key="course.${course.degree}"/> - ${course.name} |
38 | </html:link> |
40 | </html:link> |
39 | </div> |
41 | </div> |
- | 42 | ||
40 | <% |
43 | <% |
- | 44 | } |
|
41 | } |
45 | } |
42 | 46 | ||
43 | AbstractDao.getCurrentSession().getTransaction().commit(); |
47 | AbstractDao.getCurrentSession().getTransaction().commit(); |
44 | %> |
48 | %> |
45 | </div> |
49 | </div> |