#macro LogMacro title version date description log logTitle="">
<#if log??>
${title} (${version}) ${description}
${date} |
<@LogDescriptionMacro log=log title=logTitle /> |
#if>
#macro>
<#macro LogDescriptionMacro log title=log.title>
<#if (title!?length > 0)>
${title}
#if>
<#if (log.html!?length > 0)>
${log.html}
#if>
<#if (log.text!?length > 0)>
${log.text!?html?replace("\n", "
")}
#if>
<#if (log.note!?length > 0)>
Note
${log.note?html?replace("\n", "
")}
#if>
<#if (log.security!?size > 0)>
<@SecurityListMacro title="security" list=log.security/>
#if>
<#if (log.fixes!?size > 0)>
<@UnorderedListMacro title="fixes" list=log.fixes />
#if>
<#if (log.changes!?size > 0)>
<@UnorderedListMacro title="changes" list=log.changes />
#if>
<#if (log.additions!?size > 0)>
<@UnorderedListMacro title="additions" list=log.additions />
#if>
<#if (log.settings!?size > 0)>
<@SettingsTableMacro title="new settings" list=log.settings />
#if>
<#if (log.dependencyChanges!?size > 0)>
<@UnorderedListMacro title="dependency changes" list=log.dependencyChanges />
#if>
<#if (log.contributors!?size > 0)>
<@UnorderedListMacro title="contributors" list=log.contributors?sort />
#if>
#macro>
<#macro SecurityListMacro list title>
${title}
<#list list as item>
- ${item?html?replace("\n", "
")}
#list>
#macro>
<#macro UnorderedListMacro list title>
${title}
<#list list as item>
- ${item?html?replace("\n", "
")}
#list>
#macro>
<#macro SettingsTableMacro list title>
${title}
<#list list as item>
${item.name} | ${item.defaultValue} |
#list>
#macro>
<#macro RssMacro posts posturl>
${project.url}
Moxie Toolkit
<#list posts as post>
-
${posturl}${post.id}
<#if (post.text!?length > 0)>
#if>
<#if (post.keywords!?size > 0)>
<#list post.keywords as keyword>
#list>
#if>
<#if (post.author!?length > 0)>
<#else>
#if>
${post.date?string("EEE, dd MMM yyyy HH:mm:ss Z")}
#list>
#macro>
<#macro AtomMacro posts posturl>
${project.name}
${project.releaseDate}
<#list posts as post>
<#if (post.text!?length > 0)>
#if>
${posturl}${post.id}
<#if (post.text!?length > 0)>
#if>
<#if (post.keywords!?size > 0)>
<#list post.keywords as keyword>
#list>
#if>
${post.date?string("yyyy-MM-dd'T'HH:mm:ssZ")}
#list>
#macro>