Diff
Not logged in

Differences From:

File src/info.c part of check-in [a48474bc75] - Improvements to the shunning algorithm. Add the shun page and an opportunity to shun or unshun artifacts in the artifact viewer. by drh on 2008-05-29 01:58:15. [view]

To:

File src/info.c part of check-in [94a93469c8] - Clicking the "Shun" submenu does not shun immediately, but only takes you to the page where you can click the "shun" button. by drh on 2008-06-02 15:01:53. [view]

@@ -775,9 +775,9 @@
     if( db_exists("SELECT 1 FROM shun WHERE uuid='%s'", zUuid) ){
       style_submenu_element("Unshun","Unshun", "%s/shun?uuid=%s&sub=1",
             g.zTop, zUuid);
     }else{
-      style_submenu_element("Shun","Shun", "%s/shun?uuid=%s&add=1",
+      style_submenu_element("Shun","Shun", "%s/shun?shun=%s#addshun",
             g.zTop, zUuid);
     }
   }
   style_header("Artifact Content");