james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <server-...@james.apache.org>
Subject [jira] Resolved: (JAMES-1203) Update site.vm in custom maven-skins
Date Sun, 06 Mar 2011 15:45:25 GMT

     [ https://issues.apache.org/jira/browse/JAMES-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Felix Knecht resolved JAMES-1203.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Trunk

  Avoid problems
  
  * The <<\<banner\>>> tag in site.xml
  
    When inheriting the banner the <<\<src\>>> tag contains a strange url
(e.g. '../../../james-imap-api'). This
    looks like a container ULR but not like an valid image src.
    How the workaround works:
    
    For the <<\<bannerRight\>>> tag (add it as usual) the site.vm replaces
any src values by 'images/logos/asf-logo-reduced.gif'.
    
    For the <<\<bannerLeft\>>> tag (add it as usual) the site.vml replaces
any src values by ('images/logos/' + $banner.alt)
    (set the images name as as value of the <<\<alt\>>> tag).
    
    The logos for all the JAMES projects are included via this skin (see src/resources/images/logos).
    
    <<Note>>
    
    When a project logo changes then it must also be added/changed in this maven-skin.
   
    <<A correct definition could look like>>

+----------------------------------------+
<bannerLeft>
    <name>James IMAP</name>
    <src>images/logos/james-imap-logo.gif</src>
    <href>http://james.apache.org/imap/index.html</href>
    <alt>james-imap-logo.gif</alt>
</bannerLeft>

<bannerRight>
    <name>Apache Software Foundation</name>
    <src>images/logos/asf-logo-reduced.gif</src>
    <href>http://james.apache.org/index.html</href>
</bannerLeft>
+----------------------------------------+


> Update site.vm in custom maven-skins
> ------------------------------------
>
>                 Key: JAMES-1203
>                 URL: https://issues.apache.org/jira/browse/JAMES-1203
>             Project: JAMES Server
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: Trunk
>         Environment: all
>            Reporter: Felix Knecht
>            Assignee: Felix Knecht
>             Fix For: Trunk
>
>
> The template (site.vm) is not up to date (comparing with the current site.vm suggested
to take as template [1]). Apart from some small additions it is almost in it's initial state
dating of 2007.
> See also http://www.mail-archive.com/server-dev@james.apache.org/msg31587.html

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message