5340ada259767114db7bdd6100946b9c7cd4b84a
gperez2
  Wed Mar 12 16:12:55 2025 -0700
Adding <BR> tags for the displayed links and changing  the order of View and Download conversion links, refs #20666

diff --git src/hg/hgLiftOver/hgLiftOver.c src/hg/hgLiftOver/hgLiftOver.c
index bf060fd009e..b9dba277453 100644
--- src/hg/hgLiftOver/hgLiftOver.c
+++ src/hg/hgLiftOver/hgLiftOver.c
@@ -560,47 +560,47 @@
         ct = liftOverPositions(oldTn.forCgi, chainHash, 
                 minMatch, minBlocks, 0, minSizeQ,
                 minChainT, 0,
                 fudgeThick, mapped, unmapped, multiple, NULL, &errCt);
         if (ct == -1)
             /* programming error */
             errAbort("ERROR: Unsupported data format.\n");
 
         webNewSection("Results");
         if (ct > 0)
             {
             /* some records succesfully converted */
             cgiParagraph("");
             printf("Successfully converted %d record", ct);
             printf("%s: ", ct > 1 ? "s" : "");
-            printf("<A HREF=%s TARGET=_blank>Download Conversions</A>\n", mappedTn.forCgi);
-            printf("<a href='#' data-url='%s' class='link' id='viewLink'>View Conversions</a>\n", mappedTn.forCgi);
+	    printf("<a href='#' data-url='%s' class='link' id='viewLink'><BR>View conversions</a>\n", mappedTn.forCgi);
+            printf("<A HREF=%s TARGET=_blank><BR>Download conversions</A>\n", mappedTn.forCgi);
             jsInlineF("document.getElementById('viewLink').addEventListener('click', function(ev) { "
                 "ev.preventDefault();"
                 "forceDisplayBedFile(ev.currentTarget.getAttribute('data-url'));"
                 "});");
             }
 
         if (errCt)
             {
             /* some records not converted */
             cgiParagraph("");
             printf("Conversion failed on %d record", errCt);
             printf("%s. &nbsp;&nbsp;&nbsp;", errCt > 1 ? "s" : "");
-            printf("<A HREF=%s TARGET=_blank>Display failure file</A>&nbsp; &nbsp;\n",
+            printf("<A HREF=%s TARGET=_blank><BR>Display failure file</A>&nbsp; &nbsp;\n",
                              unmappedTn.forCgi);
-            printf("<A HREF=\"../cgi-bin/hgLiftOver?%s=1\" TARGET=_blank>Explain failure messages</A>\n", HGLFT_ERRORHELP_VAR);
+            printf("<A HREF=\"../cgi-bin/hgLiftOver?%s=1\" TARGET=_blank><BR>Explain failure messages</A>\n", HGLFT_ERRORHELP_VAR);
             puts("<P>Failed input regions:\n");
             struct lineFile *errFile = lineFileOpen(unmappedTn.forCgi, TRUE);
             puts("<BLOCKQUOTE><PRE>\n");
             while (lineFileNext(errFile, &line, &lineSize))
                 puts(line);
             lineFileClose(&errFile);
             puts("</PRE></BLOCKQUOTE>\n");
             }
         if ((multiple) && (lft == positions))
         {
         puts("<BLOCKQUOTE><PRE>\n");
         puts("Note: &quot;multiple&quot; option is not supported for position format.");
         puts("</PRE></BLOCKQUOTE>\n");
         }
         webParamsUsed(minMatch, multiple, minSizeQ, minChainT, minBlocks, fudgeThick);