In breadcrumbs, use for the project's name nav.title if defined, pom.name otherwise.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@384052 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2006-03-07 23:24:08 +00:00
1 parent c12a872a0d
commit 34c5af38ac
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -287,7 +287,7 @@
</j:if>
<j:if test="${!empty( breadcrumbsUsed )}">
<jsl:applyTemplates select="$nav/body/breadcrumbs" />
<a href="${home}">${pom.name}</a>&#160;<span class="separator">&gt;</span>&#160;${_docTitle}
<a href="${home}"><x:if select="$nav/title">${_navTitle}</x:if><x:if select="not($nav/title)">${pom.name}</x:if></a>&#160;<span class="separator">&gt;</span>&#160;${_docTitle}
</j:if>
</div>