X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples-jbake%2Ftemplates%2Fmacros.ftl;h=cecf8a2d9a2558d91eebb5c9c27e75b048caf0b6;hb=ea94f71e4b8bd5ceda06e696f6e92723cc2d9db1;hp=0673d769ddc1dd589bec763577877b59adf96b5d;hpb=bb08578d55de6f432ffc5b2bd339467978ede1f4;p=jalview.git diff --git a/examples-jbake/templates/macros.ftl b/examples-jbake/templates/macros.ftl index 0673d76..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)>