Just an idea:

there is only one top level item in self service menu -> no point of having this level.


This patch replaces top level with second menu level

original:
* http://pvoborni.fedorapeople.org/images/self-service-menu-2levels.png
new:
* http://pvoborni.fedorapeople.org/images/self-service-menu-1level.png
--
Petr Vobornik
From a7fd9c19b8414f6264d9b325e362f1a1f12158cd Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvobo...@redhat.com>
Date: Thu, 15 May 2014 15:44:29 +0200
Subject: [PATCH] webui: simplify self-service menu

there is only one top level item -> no point of having this level.

This patch replaces top level with second menu level
---
 install/ui/src/freeipa/navigation/menu_spec.js | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/install/ui/src/freeipa/navigation/menu_spec.js b/install/ui/src/freeipa/navigation/menu_spec.js
index 0e206b828f68dffc7fe7753033344ed74cffe6a4..a613805148744a2629d3f771272ec67ff43194d6 100644
--- a/install/ui/src/freeipa/navigation/menu_spec.js
+++ b/install/ui/src/freeipa/navigation/menu_spec.js
@@ -146,14 +146,8 @@ var nav = {};
 nav.self_service = {
     name: 'self-service',
     items: [
-        {
-            name: 'identity',
-            label: '@i18n:tabs.identity',
-            children: [
-                { entity: 'user' },
-                { entity: 'otptoken' }
-            ]
-        }
+        { entity: 'user' },
+        { entity: 'otptoken' }
     ]
 };
 
-- 
1.9.0

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to