<ul class="nav nav-tabs">
    <li{% if page == 'code' %} class="active"{% endif %}><a href="{{ route('branch', {owner: owner.slug, project: project.slug, branch: branch}) }}"><i class="octicon octicon-code"></i> Code</a></li>
    <li {{ set_active('*issues*') | raw }}><a href="{{ route('issues', {owner: owner.slug, project: project.slug}) }}"><i class="octicon octicon-issue-opened"></i> Issues <span class="badge">{{ project.issue_count }}</span></a></li>
    <li {{ set_active('*merge_requests') | raw }}><a 