Source

phylopic / src / templates / name.html

The branch 'default' does not exist.
{% extends "base.html" %}

{% block title %}{{ name.string }} — PhyloPic{% endblock %}

{% block css %}
	@import url("/assets/styles/submit.css");
{% endblock %}

{% block metaAuthor %}
		<meta name="Author" content="T. Michael Keesey" /> 
{% endblock %}
{% block metaDescription %}
		<meta name="Description" content="Taxonomic Name: {{ name.string }}." /> 
{% endblock %}
{% block metaKeywords %}
		<meta name="Keywords" content="{{ name.string }},name,nomen,taxonomy,taxonomic,illustration,image,silhouette,PhyloPic" />
{% endblock %}
{% block metaTitle %}
		<meta name="Title" content="{{ name.string }} &mdash; PhyloPic" />
{% endblock %}

{% block links %}
		<link rel="canonical" href="http://phylopic.org/name/{{ name.uid }}" />
		{% if imageSrcUID %}
		<link rel="image_src" href="http://phylopic.org/image/{{ imageSrcUID }}/128" type="image/png" />
		{% endif %}
{% endblock %}

{% block pageHeader %}
				<div class="page-header row">
					<h1 class="span8">
						{% autoescape off %}{{ name.html }}{% endautoescape %}
					</h1>
					<h5 class="span4" style="text-align:right">
						{% autoescape off %}{{ name.prettyURIType }}{% endautoescape %}:
						{% if name.prettyURILink %}<a href="/resolve/{{ name.uri }}" target="_blank">{% endif %}{% autoescape off %}{{ name.prettyURIName }}{% endautoescape %}{% if name.prettyURILink %}</a>{% endif %}
					</h5>
				</div>
{% endblock %}

{% block content %}
				<section id="illustration">
					<h2>Illustration</h2>
					<div class="status"></div>
					<div class="content"></div>
				</section>
				<section id="taxonomy">
					<h2>Taxonomy</h2>
					<div class="status"></div>
					<div class="content"></div>
				</section>
				{% if user.is_staff %}
				<!--  :TODO: -->
				{% endif %}
{% endblock %}

{% block scripts %}
		<script type="text/javascript" src="/assets/scripts/phylopic/name.js"></script>
		{% if user.is_staff %}
		<script type="text/javascript" src="/assets/scripts/phylopic/staff/name.js"></script>
		{% endif %}
		<script type="text/javascript">
			$(window).load(function() {
				{% autoescape off %}
				var name = {{ nameSummary }};
				{% endautoescape %}
				pp.page.name(name{% if user.is_staff %}, true{% endif %});
			});
		</script>
{% endblock %}