## This file is part of bauble.classic. ## ## bauble.classic is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 of the License, or ## (at your option) any later version. ## ## bauble.classic is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with bauble.classic. If not, see . ## Labels <% from bauble.plugins.report import get_plants_pertinent_to %>\ <%def name="make_label(plant)">
${plant}
${plant.accession.species.genus.family}
${plant.accession.species_str(markup=True)}
${plant.accession.species.default_vernacular_name or ' '}
${plant.accession.species.distribution_str()}
% for p in get_plants_pertinent_to(values): ${make_label(p)} % endfor