You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2015/12/04 20:20:06 UTC

[whimsy.git] [20/50] Commit 1b9442c: Update/correct links

Commit 1b9442c895c65e68df78ace08aa53fa961f7dabb:
    Update/correct links
    git-svn-id: https://svn.apache.org/repos/infra/infrastructure/trunk/projects/whimsy@819623 90ea9780-b833-de11-8433-001ec94261de


Branch: refs/heads/master
Author: Sam Ruby <ru...@apache.org>
Committer: Sam Ruby <ru...@apache.org>
Pusher: rubys <ru...@apache.org>

------------------------------------------------------------
www/secretary/workbench/file.cgi                             | ++++++ ---
www/secretary/workbench/worklist.cgi                         | +++++++ ---
------------------------------------------------------------
19 changes: 13 additions, 6 deletions.
------------------------------------------------------------


diff --git a/www/secretary/workbench/file.cgi b/www/secretary/workbench/file.cgi
index 5d3c1f6..829339b 100755
--- a/www/secretary/workbench/file.cgi
+++ b/www/secretary/workbench/file.cgi
@@ -398,9 +398,10 @@ end
 DESTINATION = {
   "Jim"       => "to_jim",
   "Sam"       => "to_sam",
-  "upayavira" => "to_upayavira",
+  "Upayavira" => "to_upayavira",
   "dup"       => "deadletter/dup",
-  "incomplete"=> "deadletter/incomplete" }
+  "incomplete"=> "deadletter/incomplete"
+}
 
 exception = nil
 line = nil
@@ -771,8 +772,10 @@ _html do
             _.system "mv #{@source}.tmp #{@source}"
           elsif @dest == 'junk'
             _.system(['svn', 'rm', '--force', "#{@source}#{at}"])
-          else
+          elsif DESTINATION.include? @dest
             _.move @source, DESTINATION[@dest]
+          else
+            pre.stderr "Unknown destination: #{@dest}"
           end
         end
 
diff --git a/www/secretary/workbench/worklist.cgi b/www/secretary/workbench/worklist.cgi
index 726010e..bd662c7 100755
--- a/www/secretary/workbench/worklist.cgi
+++ b/www/secretary/workbench/worklist.cgi
@@ -380,8 +380,8 @@ _html do
             _fieldset do
               _legend 'To:'
               _input type: 'submit', name: 'dest', value: 'Jim'
-              _input type: 'submit', name: 'dest', value: 'Justin'
-              _input type: 'submit', name: 'dest', value: 'Geir'
+              _input type: 'submit', name: 'dest', value: 'Sam'
+              _input type: 'submit', name: 'dest', value: 'Upayavira'
             end
             _fieldset do
               _legend 'Do:'
@@ -456,11 +456,15 @@ _html do
             target: 'viewport'
         end
         _li do
+          _a 'Documents', target: 'viewport',
+            href: 'https://svn.apache.org/repos/private/documents/'
+        end
+        _li do
           _a 'Board subscriptions', href: 'https://whimsy.apache.org/board/subscriptions/',
             target: 'viewport'
         end
         _li do
-          _a 'Mail aliases', href: 'https://svn.apache.org/repos/private/committers/MailAlias.txt',
+          _a 'Mail aliases', href: 'https://id.apache.org/info/MailAlias.txt',
             target: 'viewport'
         end
         _li do