@** * Yona, 21st Century Project Hosting SW * * Copyright Yona & Yobi Authors & NAVER Corp. * https://yona.io **@ @(organization: Organization, favored:Boolean, isLast:Boolean = false) @import utils.TemplateHelper._ @isAllowShowCount() = @{ UserApp.currentUser().isSiteManager || UserApp.currentUser().isAdminOf(organization) } @defining(UserApp.currentUser().getFavoriteProjects){ favoriteProjects =>
  • @organization.name
    @if(isAllowShowCount){@organization.projects.size()}
    star
  • }