maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1182105 - /maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
Date Tue, 11 Oct 2011 21:45:41 GMT
Author: olamy
Date: Tue Oct 11 21:45:40 2011
New Revision: 1182105

URL: http://svn.apache.org/viewvc?rev=1182105&view=rev
Log:
better fix for using position right

Modified:
    maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm

Modified: maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm?rev=1182105&r1=1182104&r2=1182105&view=diff
==============================================================================
--- maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm (original)
+++ maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm Tue
Oct 11 21:45:40 2011
@@ -319,15 +319,11 @@
   #set ( $breadcrumbs = $decoration.body.breadcrumbs )
   #set ( $links = $decoration.body.links )
 
-  #if ( $datePosition.equalsIgnoreCase( "right" ) && $links && $links.size()
> 0 )
-    #set ( $prefix = "&nbsp;<span class="divider pull-right">/</span>" )
-  #else
-    #set ( $prefix = "" )
-  #end
+
 ##
   #if ( $datePosition.equalsIgnoreCase( $position ) )
     #if ( ( $datePosition.equalsIgnoreCase( "right" ) ) || ( $datePosition.equalsIgnoreCase(
"bottom" ) ) )
-        $prefix <li id="publishDate" class="pull-right">$i18n.getString( "site-renderer",
$locale, "template.lastpublished" ): $dateToday</li>
+        &nbsp;<li class="divider pull-right">/</li><li id="publishDate"
class="pull-right">$i18n.getString( "site-renderer", $locale, "template.lastpublished"
): $dateToday</li>
       #if ( $versionPosition.equalsIgnoreCase( $position ) )
         &nbsp;<li class="divider pull-right">|</li> <li id="projectVersion"
class="pull-right">$i18n.getString( "site-renderer", $locale, "template.version" ): ${project.version}</li>
       #end
@@ -349,9 +345,9 @@
     #end
   #elseif ( $versionPosition.equalsIgnoreCase( $position ) )
     #if ( $versionPosition.equalsIgnoreCase( "right" ) )
-      $prefix <li id="projectVersion" class="pull-right">$i18n.getString( "site-renderer",
$locale, "template.version" ): ${project.version}</li>
+      &nbsp;<li class="divider pull-right">/</li> <li id="projectVersion"
class="pull-right">$i18n.getString( "site-renderer", $locale, "template.version" ): ${project.version}</li>
     #elseif ( $versionPosition.equalsIgnoreCase( "bottom" ) )
-        $prefix <span id="projectVersion">$i18n.getString( "site-renderer", $locale,
"template.version" ): ${project.version}</span>
+      <span id="projectVersion">$i18n.getString( "site-renderer", $locale, "template.version"
): ${project.version}</span>
     #elseif ( ( $versionPosition.equalsIgnoreCase( "navigation-bottom" ) ) || ( $versionPosition.equalsIgnoreCase(
"navigation-top" ) ) )
       <div id="lastPublished">
         <span id="projectVersion">$i18n.getString( "site-renderer", $locale, "template.version"
): ${project.version}</span>



Mime
View raw message