diff --git a/openstack_dashboard/contrib/developer/profiler/templates/profiler/_mode_picker.html b/openstack_dashboard/contrib/developer/profiler/templates/profiler/_mode_picker.html index 5daf5d35eb..2bcc706964 100644 --- a/openstack_dashboard/contrib/developer/profiler/templates/profiler/_mode_picker.html +++ b/openstack_dashboard/contrib/developer/profiler/templates/profiler/_mode_picker.html @@ -1,21 +1,13 @@ -{% if not_list %} - -{% else %} - -{% endif %} \ No newline at end of file + \ No newline at end of file diff --git a/openstack_dashboard/templates/header/_context_selection.html b/openstack_dashboard/templates/header/_context_selection.html index 6420003db8..9177168d6c 100644 --- a/openstack_dashboard/templates/header/_context_selection.html +++ b/openstack_dashboard/templates/header/_context_selection.html @@ -1,42 +1,33 @@ {% load context_selection %} -{% if not_list %} - -{% else %} - -{% endif %} - + {% comment %} + is_multi_region is only available through an assignment tag pulled in through context_selection + {% endcomment %} + {% is_multi_region as multi_region %} + {% if multi_region %} +
  • + {% show_region_list %} +
  • + {% endif %} + + diff --git a/openstack_dashboard/templates/header/_keystone_provider_selection.html b/openstack_dashboard/templates/header/_keystone_provider_selection.html index 9737e0f88d..bda9c4c6a9 100644 --- a/openstack_dashboard/templates/header/_keystone_provider_selection.html +++ b/openstack_dashboard/templates/header/_keystone_provider_selection.html @@ -1,11 +1,3 @@ -{% if not_list %} - -{% else %} - -{% endif %} \ No newline at end of file + diff --git a/openstack_dashboard/templates/header/_region_selection.html b/openstack_dashboard/templates/header/_region_selection.html index b53787c33e..9652133516 100644 --- a/openstack_dashboard/templates/header/_region_selection.html +++ b/openstack_dashboard/templates/header/_region_selection.html @@ -1,11 +1,3 @@ -{% if not_list %} - -{% else %} - -{% endif %} \ No newline at end of file + diff --git a/openstack_dashboard/templates/header/_user_menu.html b/openstack_dashboard/templates/header/_user_menu.html index ac66161b1f..66c0cacc74 100644 --- a/openstack_dashboard/templates/header/_user_menu.html +++ b/openstack_dashboard/templates/header/_user_menu.html @@ -1,76 +1,68 @@ {% load i18n %} {% load themes %} -{% if not_list %} - -{% else %} - -{% endif %} + {% endif %} +
  • +
  • + + + {% trans "Sign Out" %} + +
  • + +