Login
4 branches 0 tags
Ben (Desktop/Arch) Issues and improved branch/tag navigation 2ab6b93 1 month ago 164 Commits
rubhub / templates / project_tabs.html
<div class="project-tabs">
	<a href="{{ project.uri() }}" class="tab {% if active_tab == "overview" %}active{% endif %}">
		Overview
	</a>
	<a href="{{ project.uri_tree(&selected_branch, "") }}" class="tab {% if active_tab == "code" %}active{% endif %}">
		Code
	</a>
	<a href="{{ project.uri_issues() }}" class="tab {% if active_tab == "issues" %}active{% endif %}">
		Issues
	</a>
	{% if access_level == AccessType::Admin %}
		<a href="{{ project.uri_settings() }}" class="tab {% if active_tab == "settings" %}active{% endif %}">
			Settings
		</a>
	{% else %}
		<span class="tab disabled">
			Settings
		</span>
	{% endif %}
</div>