Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1462 → Rev 1463

/branches/v3/impl/src/web/user/home/todos.jsp
30,6 → 30,8
Object[] args = new Object[]{};
 
List<IToDoCat> todos = (List<IToDoCat>) sm.execute(RequestUtils.getRequester(request, response), "CommonServicesGetAllTodosCat", args, names);
if (todos == null || todos.size() == 0)
{
%>
 
 
39,19 → 41,8
 
 
 
<%
if (todos == null || todos.size() == 0)
{
%>
<div class="zerofound">
<bean:message key="todo.zero.todos"/>
</div>
<%
}
else
{
%>
 
 
<%
for (IToDoCat toDoCat : todos)
{
99,13 → 90,14
}
%>
 
<div class="panel-body-h1 <%=styleClass%>">
<%=MessageResources.getMessage(request, toDoCat.getDescription())%> (<%=toDoCat.getTotalToDo()%>) <img alt="abrir" src="<%=request.getContextPath() + img%>" onclick="this.src=showOrHide('<%=toDoCat.getDescription()%>','<%=request.getContextPath() + imgClose%>','<%=request.getContextPath() + imgOpen%>')" >
<div class="list-group">
<div class="list-group-item-heading"><%=MessageResources.getMessage(request, toDoCat.getDescription())%> (<%=toDoCat.getTotalToDo()%>) <img alt="abrir" src="<%=request.getContextPath() + img%>" onclick="this.src=showOrHide('<%=toDoCat.getDescription()%>','<%=request.getContextPath() + imgClose%>','<%=request.getContextPath() + imgOpen%>')" ></div>
</div>
 
 
 
<ul id="<%=toDoCat.getDescription()%>" style="<%=style%>">
<%--<ul id="<%=toDoCat.getDescription()%>" style="<%=style%>">--%>
<%
for (IToDo todo : toDoCat.getAllToDos())
{
113,9 → 105,10
if (todo.getUrl() != null)
{
%>
<li>
<div class="list-group-item">
 
<a href="<%=request.getContextPath() + todo.getUrl()%>">
<font class="<%=styleClass%>">
 
<%
if(todo.getCatArg0() == null && todo.getCatKey() != null)
{
128,30 → 121,32
 
%>
<%=todo.getLabelInsideCat(request)%>
</font>
 
</a>
 
</li>
</div>
<%
}
else
{
%>
<li>
<div class="list-group-item">
<%=todo.getLabelInsideCat(request)%>
</li>
</div>
<%
}
}
%>
</ul>
 
 
</div>
 
<%
}
%>
 
<%
}
%>
</div>
</div>
<%
}
%>
/branches/v3/impl/src/web/user/home/student.jsp
50,6 → 50,9
<bean:message key="profile.bad.profile.student.iregular.user.class"/>
</div>
</logic:notMatch>
<baco:isModuleOn module="todos">
<jsp:include page="/user/home/todos.jsp"/>
</baco:isModuleOn>
<div class="row">
<div class="col-md-6 col-sm-12 col-xs-12">
 
180,8 → 183,6
<baco:isModuleOn module="courseunits">
<jsp:include page="/user/home/courseUnitsAnnouncements.jsp"/>
</baco:isModuleOn>
<baco:isModuleOn module="todos">
<jsp:include page="/user/home/todos.jsp"/>
</baco:isModuleOn>
 
</div>
</div>