You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2005/12/02 00:05:26 UTC

svn commit: r351513 - in /incubator/roller/trunk: src/org/roller/presentation/weblog/actions/CommentManagementAction.java web/theme/roller.css

Author: snoopdave
Date: Thu Dec  1 15:05:19 2005
New Revision: 351513

URL: http://svn.apache.org/viewcvs?rev=351513&view=rev
Log:
Fixing navigation in global comment mgt

Modified:
    incubator/roller/trunk/src/org/roller/presentation/weblog/actions/CommentManagementAction.java
    incubator/roller/trunk/web/theme/roller.css

Modified: incubator/roller/trunk/src/org/roller/presentation/weblog/actions/CommentManagementAction.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/weblog/actions/CommentManagementAction.java?rev=351513&r1=351512&r2=351513&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/weblog/actions/CommentManagementAction.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/weblog/actions/CommentManagementAction.java Thu Dec  1 15:05:19 2005
@@ -290,11 +290,14 @@
         private String getQueryLink() {
             StringBuffer sb = new StringBuffer();
             sb.append(request.getContextPath());
-            sb.append("/editor/commentManagement.do"); // TODO: get path from Struts
-            sb.append("?method=query");
             if (getWebsite() != null) {
+                sb.append("/editor/commentManagement.do"); // TODO: get path from Struts
+                sb.append("?method=query");
                 sb.append("&weblog=");
                 sb.append(getWebsite().getHandle());
+            } else {
+                sb.append("/admin/commentManagement.do"); // TODO: get path from Struts
+                sb.append("?method=query");
             }
             sb.append("&count=");
             sb.append(queryForm.getCount());

Modified: incubator/roller/trunk/web/theme/roller.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/theme/roller.css?rev=351513&r1=351512&r2=351513&view=diff
==============================================================================
--- incubator/roller/trunk/web/theme/roller.css (original)
+++ incubator/roller/trunk/web/theme/roller.css Thu Dec  1 15:05:19 2005
@@ -251,7 +251,6 @@
 div.tablenav {
    font-size: 110%
 }
-
 table.rollertable {
     border-collapse: collapse; 
     width: 100%;