svnno****@sourc*****
svnno****@sourc*****
2008年 12月 4日 (木) 09:09:53 JST
Revision: 1512 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1512 Author: shinsuke Date: 2008-12-04 09:09:53 +0900 (Thu, 04 Dec 2008) Log Message: ----------- a selected item is displayed as bold. Modified Paths: -------------- todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp -------------- next part -------------- Modified: todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp =================================================================== --- todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp 2008-12-03 22:41:49 UTC (rev 1511) +++ todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp 2008-12-04 00:09:53 UTC (rev 1512) @@ -40,16 +40,18 @@ <table> <thead> <tr> - <th style="width: 150px;"><bean:message key="labels.category"/></th> + <th style="width: 145px;"><bean:message key="labels.category"/></th> </tr> </thead> <tbody> <tr> - <td style="text-align: center;"> -<ul style="margin: 0;padding: 0;"> - <li style="list-style-type: none;"><s:link href="allcategory"><bean:message key="labels.all"/></s:link></li> + <td> +<ul style="margin:0 0 0 3px;padding:0;"> + <c:if test="${todoPager.categoryId==null}"><li style="list-style-type: none;font-weight: bold;margin:1px 0;">»<bean:message key="labels.all"/></li></c:if> + <c:if test="${todoPager.categoryId!=null}"><li style="list-style-type: none;margin:1px 0;"><s:link href="allcategory"><bean:message key="labels.all"/></s:link></li></c:if> <c:forEach var="c" varStatus="s" items="${categoryItems}"> - <li style="list-style-type: none;"><s:link href="selectcategory/${f:u(c.id)}">${f:h(c.name)}</s:link></li> + <c:if test="${c.id==todoPager.categoryId}"><li style="list-style-type: none;font-weight: bold;margin:1px 0;">»${f:h(c.name)}</li></c:if> + <c:if test="${c.id!=todoPager.categoryId}"><li style="list-style-type: none;margin:1px 0;"><s:link href="selectcategory/${f:u(c.id)}">${f:h(c.name)}</s:link></li></c:if> </c:forEach> </ul> </td>