20850: Fix capitalization and indentation
authorPeter Amstutz <peter.amstutz@curii.com>
Wed, 13 Sep 2023 19:26:28 +0000 (15:26 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Wed, 13 Sep 2023 19:26:28 +0000 (15:26 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

apps/workbench/app/views/layouts/body.html.erb

index 91e3406f7ced2b48c14e40e559ca2c97f8521bfc..8b114478ba089e538e4e8b60a60f09b317370287 100644 (file)
@@ -86,8 +86,8 @@ SPDX-License-Identifier: AGPL-3.0 %>
                 <li role="menuitem">
                   <%
                   wb2_url = Rails.configuration.Services.Workbench2.ExternalURL.to_s
-                    if wb2_url[-1] == '/'
-                  wb2_url  = wb2_url.chop
+                  if wb2_url[-1] == '/'
+                    wb2_url  = wb2_url.chop
                   end
                   wb2_url += request.fullpath
                   %>
@@ -249,13 +249,13 @@ SPDX-License-Identifier: AGPL-3.0 %>
     <div id="deprecation-notice" class="row">
       <div class="col-md-12">
        <div class="alert alert-block alert-warning">
-         <span>You are using the <a href="https://doc.arvados.org/user/topics/workbench-migration.html">deprecated workbench application</a>
-           to access Arvados. A newer workbench application is available.
-          <form action="<%= wb2_url %>" method="GET">
-                    <button type="submit">
-                      <i class="fa fa-lg fa-share-square fa-fw"></i> Go to Workbench 2
-                    </button>
-          </form>
+         <span>You are using the <a href="https://doc.arvados.org/user/topics/workbench-migration.html">deprecated Workbench application</a>
+           to access Arvados. A newer Workbench application is available.
+            <form action="<%= wb2_url %>" method="GET">
+              <button type="submit">
+                <i class="fa fa-lg fa-share-square fa-fw"></i> Go to Workbench 2
+              </button>
+            </form>
          </span>
     </div>
   </div>