Diff
Not logged in

Differences From:

File src/shun.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/shun.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]

@@ -110,8 +110,9 @@
   }
   db_finalize(&q);
   @ </blockquote>
   @ <hr>
+  @ <a name="addshun"></a>
   @ <p>To shun an artifact, enter its UUID in the
   @ following box and press the "Shun" button.  This will cause the artifact
   @ to be removed from the repository and will prevent the artifact from being
   @ readded to the repository by subsequent sync operation.</p>
@@ -124,9 +125,9 @@
   @ sight - set the "hidden" tag on such artifacts instead.</p>
   @
   @ <blockquote>
   @ <form method="POST" action="%s(g.zBaseURL)/%s(g.zPath)">
-  @ <input type="text" name="uuid" size="50">
+  @ <input type="text" name="uuid" value="%h(PD("shun",""))" size="50">
   @ <input type="submit" name="add" value="Shun">
   @ </form>
   @ </blockquote>
   @