Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add id's to menus for active links to be tracked
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebrooker committed Jul 25, 2013
1 parent 53e80e0 commit def26df
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
Expand Up @@ -37,7 +37,7 @@
</div>
</s:fragment>

<nav class="header__menu is-hidden--s l--push-left-half">
<nav id="#nav-main" class="header__menu is-hidden--s l--push-left-half">
<ul class="list--horizontal">
<li class="l--push-left-half"><s:link id="banner_projects_link" view="/project/home.xhtml" propagation="none">#{messages['jsf.Projects']}</s:link></li>
<li class="l--push-left-half"><s:link id="banner_version-groups_link" view="/version-group/home.xhtml" propagation="none">#{messages['jsf.Groups']}</s:link></li>
Expand Down
4 changes: 2 additions & 2 deletions zanata-war/src/main/webapp/WEB-INF/template/footer.xhtml
Expand Up @@ -43,7 +43,7 @@

<div class="section_block">
<h4>#{messages['jsf.SiteMap']}</h4>
<div class="content">
<div class="content" id="#nav-footer">
<ul>
<li><s:link id="Projects_sitemap" view="/project/home.xhtml"
propagation="none" value="#{messages['jsf.Projects']}" /></li>
Expand All @@ -69,4 +69,4 @@
<div class="copyright_block">
<h:outputText value="#{messages['jsf.RunningVersionInfo']} #{messages['jsf.CopyrightNotice']}" escape="false" />
</div>
</div>
</div>
6 changes: 3 additions & 3 deletions zanata-war/src/main/webapp/WEB-INF/template/left_menu.xhtml
Expand Up @@ -7,18 +7,18 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.org/schema/seam/taglib"
xmlns:rich="http://richfaces.org/rich">

<header class="off-canvas__header">
<a href="#off-canvas--left" class="off-canvas__close"> <i
class="i i--cross"></i> <span class="is-invisible">Close</span>
</a>
</header>
<nav>
<nav id="#nav-main-side">
<ul class="list--slat list--block-links">
<li><s:link id="left_menu_projects_link" view="/project/home.xhtml" propagation="none">#{messages['jsf.Projects']}</s:link></li>
<li><s:link id="left_menu_version-groups_link" view="/version-group/home.xhtml" propagation="none">#{messages['jsf.Groups']}</s:link></li>
<li><s:link id="left_menu_languages_link" view="/language/home.xhtml" propagation="none">#{messages['jsf.Languages']}</s:link></li>
<li><s:link id="left_menu_help_link" view="/help/view.xhtml" propagation="none">#{messages['jsf.Help']}</s:link></li>
</ul>
</nav>
</div>
</div>
8 changes: 4 additions & 4 deletions zanata-war/src/main/webapp/WEB-INF/template/right_menu.xhtml
Expand Up @@ -6,14 +6,14 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.org/schema/seam/taglib"
xmlns:rich="http://richfaces.org/rich">

<header class="off-canvas__header">
<a href="#off-canvas--right" class="off-canvas__close">
<i class="i i--cross"></i>
<span class="is-invisible">Close</span>
</a>
</header>
<nav>
<nav id="#nav-user">
<ul class="list--slat list--block-links txt--invert">
<li>
<s:link view="/dashboard/home.xhtml" propagation="none">
Expand All @@ -27,5 +27,5 @@
</li>
</ul>
</nav>
</div>

</div>

0 comments on commit def26df

Please sign in to comment.