X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples-jbake%2Ftemplates%2Fmacros.ftl;h=cecf8a2d9a2558d91eebb5c9c27e75b048caf0b6;hb=c1905ce5efcb38babec4f46a54ea47a1b83992e7;hp=04a4498248529cd61229b6483b5c70486ce66513;hpb=b9117af25fa6c759fd626717557cc04a68400185;p=jalview.git diff --git a/examples-jbake/templates/macros.ftl b/examples-jbake/templates/macros.ftl index 04a4498..cecf8a2 100644 --- a/examples-jbake/templates/macros.ftl +++ b/examples-jbake/templates/macros.ftl @@ -1,11 +1,16 @@ -<#assign appparams = [ "file","features","treeFile","userDefinedColour","sortByTree","showSequenceLogo","showGroupConsensus","showFullId","linkLabel_1","linkUrl_1","linkUrl_2","linkLabel_2","windowHeight","windowWidth","showFeatureSettings","wrap","showAnnotation","defaultColour","embedded", "debug" ] /> +<#assign appparams = [ "file","features","jnetfile","treeFile","userDefinedColour","sortByTree","showSequenceLogo","showGroupConsensus","showFullId","linkLabel_1","linkUrl_1","linkUrl_2","linkLabel_2","windowHeight","windowWidth","showFeatureSettings","wrap","showAnnotation","defaultColour","embedded", "debug", "PDBfile" ] /> <#macro jvlitebutton appjar params prots=true width=140 height=35> -<#list appparams as p><#if (params[p])?has_content> +<#if (!content.alteg?exists)> + + +<#list appparams as p> +<#if (params[p])?has_content> + <#if (prots)>