You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ma...@apache.org on 2024/06/26 19:22:20 UTC

(ranger) branch ranger-2.5 updated: RANGER-4834 : Remove 'Switch to latest UI' option from Ranger Admin Backbone classic UI

This is an automated email from the ASF dual-hosted git repository.

madhan pushed a commit to branch ranger-2.5
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/ranger-2.5 by this push:
     new f56f0d894 RANGER-4834 : Remove 'Switch to latest UI' option from Ranger Admin Backbone classic UI
f56f0d894 is described below

commit f56f0d894a834cca650bc72b328d50e1d6151070
Author: Mugdha Varadkar <mu...@apache.org>
AuthorDate: Wed Jun 26 12:11:18 2024 +0530

    RANGER-4834 : Remove 'Switch to latest UI' option from Ranger Admin Backbone classic UI
    
    Signed-off-by: Madhan Neethiraj <ma...@apache.org>
    (cherry picked from commit b2253ad71d9333620f3e20608e1e0a6545a69475)
---
 .../src/main/webapp/templates/common/ProfileBar_tmpl.html     | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/security-admin/src/main/webapp/templates/common/ProfileBar_tmpl.html b/security-admin/src/main/webapp/templates/common/ProfileBar_tmpl.html
index 73baa158a..22ed9999a 100644
--- a/security-admin/src/main/webapp/templates/common/ProfileBar_tmpl.html
+++ b/security-admin/src/main/webapp/templates/common/ProfileBar_tmpl.html
@@ -22,16 +22,9 @@
             </a>
             <div class="dropdown-menu dropdown-menu-right">
                 <a class="dropdown-item" href="#!/userprofile"><i class="fa fa-user m-r-xs"></i> Profile </a>
-                <a class="dropdown-item" href={{reactUI}}><i class="fa fa-sign-out m-r-xs"></i> React UI </a>
+                <a class="dropdown-item" href={{reactUI}}><i class="fa fa-sign-out m-r-xs"></i> React Latest UI </a>
                 <a class="dropdown-item" href={{swaggerUI}} target='_blank'><i class="fa fa-user m-r-xs"></i> API Documentation </a>
-                {{#if oldUi}}
-                    <a class="dropdown-item" href="javascript:;" data-id="oldNewSwitch" data-value="true">
-                      <i class="fa fa-sign-out m-r-xs"></i> Switch to classic UI </a>
-                {{else}}
-                    <a class="dropdown-item" href="javascript:;" data-id="oldNewSwitch" data-value="false">
-                      <i class="fa fa-sign-out m-r-xs"></i> Switch to latest UI </a>
-                {{/if}}
-                <a class="dropdown-item" href="javascript:;" class="_allowNav" data-id="logout"><i class="fa fa-power-off m-r-xs"></i> Log Out </a>
+               <a class="dropdown-item" href="javascript:;" class="_allowNav" data-id="logout"><i class="fa fa-power-off m-r-xs"></i> Log Out </a>
             </div>
         </li>
     </ul>