Created attachment 762785 [details] useless nav link Description of problem: Checked the newsletter sign up page on chrome27 with width less than 800px, found that there is a nav link, but with no redirect and no reponse when clicking, should remove that. Version-Release number of selected component (if applicable): INT(devenv_3382) How reproducible: always Steps to Reproduce: 1.Go to newsletter/signup page on chrome with width less than 800px, and IPhone4S 2. 3. Actual results: There is a useless nav link on the page, details see in attachment please. Expected results: The useless nav link should be removed. Additional info:
The issue is that our page templates include the following markup even if their is no secondary navigation associated with the page. <div class="column-navbar"> <a data-toggle="collapse" data-target=".nav-collapse" class="btn btn-navbar"> <span class="pull-left">Navigate</span> <span class="pull-right"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </span> </a> </div> We need a class added to such pages that can be hooked into to no display the .nav-collapse bar.
Applies to any page without secondary nav
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/8485fc9191e5a2dde10f299babcae16e20fca8fd Fix bug 975724 - don't output nav header unless there is nav content
Tested on devenv_3389, the nav link has disappeared on chrome with width less than 800px and IPhone4s, so verify this bug,thanks.