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> |
<% |
} |
%> |