Rev 376 | Rev 448 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
204 | jmachado | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
||
3 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
||
4 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
||
5 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
||
6 | <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
||
7 | <%@ taglib uri="/WEB-INF/tlds/baco.tld" prefix="baco" %> |
||
8 | <%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %> |
||
9 | <jsp:useBean id="UserSession" type="pt.estgp.estgweb.domain.UserSession" scope="request"/> |
||
10 | <div class="portal"> |
||
432 | jmachado | 11 | <logic:notMatch value="TeacherImpl" name="UserSession" property="user.class.name"> |
301 | jmachado | 12 | <ul> |
13 | <li class="WARNING"> |
||
432 | jmachado | 14 | <bean:message key="profile.bad.profile.teacher.iregular.user.class"/> |
301 | jmachado | 15 | </li> |
16 | </ul> |
||
432 | jmachado | 17 | </logic:notMatch> |
204 | jmachado | 18 | <table class="columnTable" width="100%"> |
19 | <tbody> |
||
20 | <tr> |
||
215 | jmachado | 21 | <baco:isModuleOn module="courseunits"> |
22 | <td class="column"> |
||
23 | <div class="block"> |
||
24 | <p><bean:message key="intranet.course.units"/></p> |
||
25 | <ul> |
||
262 | jmachado | 26 | <li> |
27 | <p><bean:message key="courseunit.semestre"/> 1</p> |
||
266 | jmachado | 28 | <logic:present name="UserSession" property="user.teachedUnitsCurrentYearViewS1"> |
301 | jmachado | 29 | <logic:empty name="UserSession" property="user.teachedUnitsCurrentYearViewS1"> |
30 | <bean:message key="courseunit.zero.units"/> |
||
31 | </logic:empty> |
||
32 | </logic:present> |
||
33 | <logic:present name="UserSession" property="user.teachedUnitsCurrentYearViewS1"> |
||
266 | jmachado | 34 | <logic:notEmpty name="UserSession" property="user.teachedUnitsCurrentYearViewS1"> |
35 | <ul> |
||
36 | <logic:iterate id="unit" name="UserSession" property="user.teachedUnitsCurrentYearViewS1" type="pt.estgp.estgweb.domain.CourseUnit"> |
||
37 | <li> |
||
38 | <html:link action="/user/startLoadCourseUnitFromHome?id=${unit.id}">${unit.name}</html:link> |
||
39 | </li> |
||
262 | jmachado | 40 | </logic:iterate> |
266 | jmachado | 41 | </ul> |
42 | </logic:notEmpty> |
||
43 | </logic:present> |
||
262 | jmachado | 44 | </li> |
45 | <li> |
||
46 | <p><bean:message key="courseunit.semestre"/> 2</p> |
||
266 | jmachado | 47 | <logic:present name="UserSession" property="user.teachedUnitsCurrentYearViewS2"> |
301 | jmachado | 48 | <logic:empty name="UserSession" property="user.teachedUnitsCurrentYearViewS2"> |
49 | <bean:message key="courseunit.zero.units"/> |
||
50 | </logic:empty> |
||
51 | </logic:present> |
||
52 | <logic:present name="UserSession" property="user.teachedUnitsCurrentYearViewS2"> |
||
266 | jmachado | 53 | <logic:notEmpty name="UserSession" property="user.teachedUnitsCurrentYearViewS2"> |
54 | <ul> |
||
55 | <logic:iterate id="unit" name="UserSession" property="user.teachedUnitsCurrentYearViewS2" type="pt.estgp.estgweb.domain.CourseUnit"> |
||
56 | <li> |
||
57 | <html:link action="/user/startLoadCourseUnitFromHome?id=${unit.id}">${unit.name}</html:link> |
||
58 | </li> |
||
262 | jmachado | 59 | </logic:iterate> |
266 | jmachado | 60 | </ul> |
61 | </logic:notEmpty> |
||
62 | </logic:present> |
||
262 | jmachado | 63 | </li> |
215 | jmachado | 64 | </ul> |
65 | </div> |
||
376 | jmachado | 66 | <div class="block"> |
67 | <p><bean:message key="intranet.home.curricular"/></p> |
||
68 | <ul> |
||
69 | <li> |
||
70 | <html:link action="/user/startLoadCoursesProgramsFromHome"><bean:message key="courseunit.programs"/></html:link> |
||
71 | </li> |
||
72 | </ul> |
||
73 | </div> |
||
215 | jmachado | 74 | </td> |
75 | </baco:isModuleOn> |
||
204 | jmachado | 76 | <td class="column"> |
215 | jmachado | 77 | <baco:isModuleOn module="courseunits"> |
78 | <jsp:include page="/user/home/courseUnitsAnnouncements.jsp"/> |
||
79 | </baco:isModuleOn> |
||
80 | <baco:isModuleOn module="todos"> |
||
81 | <jsp:include page="/user/home/todos.jsp"/> |
||
82 | </baco:isModuleOn> |
||
204 | jmachado | 83 | </td> |
84 | </tr> |
||
85 | </tbody> |
||
86 | </table> |
||
87 | </div> |