@**
* 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._

<li class="user-li @if(isLast){favored}" onclick="window.location='@routes.OrganizationApp.organization(organization.name)';">
    <div class="org-list project-flex-container">
        <div class="project-item project-item-container">
            <div class="flex-item site-logo">
                <i class="project-avatar">@if(hasOrganizationLogo(organization)){<img class="logo" src="@urlToOrganizationLogo(organization)">}else{<span class="dummy-25px"> </span>}</i>
            </div>
            <div class="projectName-owner flex-item">
                <div class="project-name org-name flex-item"><a href="@routes.OrganizationApp.organization(organization.name)">@organization.name</a></div>
                <div class="project-owner flex-item"></div>
            </div>
        </div>
        <div class="star-org flex-item" data-organization-id="@organization.id">
            <i class="star @if(favored){starred} material-icons">star</i>
        </div>
    </div>
</li>

@**
* 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._

<li class="user-li @if(isLast){favored}" data-location="@routes.OrganizationApp.organization(organization.name)">
    <div class="org-list project-flex-container">
        <div class="project-item project-item-container">
            <div class="flex-item site-logo">
                <i class="project-avatar">@if(hasOrganizationLogo(organization)){<img class="logo" src="@urlToOrganizationLogo(organization)">}else{<span class="dummy-25px"> </span>}</i>
            </div>
            <div class="projectName-owner flex-item">
                <div class="project-name org-name flex-item">@organization.name</div>
                <div class="project-owner flex-item"></div>
            </div>
        </div>
        <div class="star-org flex-item" data-organization-id="@organization.id">
            <i class="star @if(favored){starred} material-icons">star</i>
        </div>
    </div>
</li>

Fix usermenu's org link to which the user belongs
usermenu: Fix usermenu's org link to which the user belongs

See: Yona Github issue #285
