From 7daa4c2631931b6c65530d098b7f38c33920db5f Mon Sep 17 00:00:00 2001 From: Yan Chen Date: Thu, 17 Jan 2019 01:32:35 +0800 Subject: [PATCH] Get back the help link in admin menu. Simply get back the link from HORIZON_CONFIG.help_url. We can check in stein if this url can be set with a config file. Closes-Bug: 1802980 Change-Id: I61eab25d477aa9f5f31235839d3f460b4023046a Signed-off-by: Yan Chen --- .../themes/starlingx/templates/header/_user_menu.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/themes/starlingx/templates/header/_user_menu.html b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/themes/starlingx/templates/header/_user_menu.html index 2c96e732..d080c9ae 100755 --- a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/themes/starlingx/templates/header/_user_menu.html +++ b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/themes/starlingx/templates/header/_user_menu.html @@ -18,6 +18,14 @@ {% trans "Settings" %} + {% if HORIZON_CONFIG.help_url %} +
  • + + + {% trans "Help" %} + +
  • + {% endif %}