Author: dsahlberg
Date: Tue Dec 28 20:14:17 2021
New Revision: 1896485

URL: http://svn.apache.org/viewvc?rev=1896485&view=rev
Log:
In site/staging: The ASF download script currently return the same site
for both "http" and "backup" (after the migration to dlcdn.a.o).

* download.html: Avoid displaying the same URL twice in the <select>

Modified:
    subversion/site/staging/download.html

Modified: subversion/site/staging/download.html
URL: 
http://svn.apache.org/viewvc/subversion/site/staging/download.html?rev=1896485&r1=1896484&r2=1896485&view=diff
==============================================================================
--- subversion/site/staging/download.html (original)
+++ subversion/site/staging/download.html Tue Dec 28 20:14:17 2021
@@ -73,9 +73,9 @@ Other mirrors:
   [if-any ftp]
     [for ftp]<option value="[ftp]"[is ftp preferred] 
selected="selected"[end]>[ftp]</option>[end]
   [end]
-  [if-any backup]
+  [if-any backup][is backup http][else][# Only show backup if different from 
http ]
     [for backup]<option value="[backup]"[is backup preferred] 
selected="selected"[end]>[backup] (backup)</option>[end]
-  [end]
+  [end][end]
 </select>
 <input type="submit" value="Change" />
 </form>


Reply via email to