{% extends "_layout.html" %}
{% block content %}

<div id="branchurl" class="viewbloc">
	<h2>trunk Branch URL</h2>
	<table>
		<tr>
			<td class="label">HTTP (read only)</td>
			<td><code>{{ branch_readonly_url }}</code></td>
		</tr>
		<tr>
			<td class="label">SFTP</td>
			<td><code>{{ branch_readwrite_url }}</code></td>
		</tr>
	</table>
</div>

<div id="lastrevision" class="viewbloc">
	<h2>Last Revision in trunk <span>#{{ lastcommit.revno }}</span></h2>
	<ul class="export">
		<li class="btn"><a href="{{ url_for("export", path=path+"trunk", revno=lastcommit.revno, archive_format="tar.gz") }}" rel="nofollow" title="Export this revision in .tar.gz">Download .tar.gz</a></li>
		<li class="btn"><a href="{{ url_for("export", path=path+"trunk", revno=lastcommit.revno, archive_format="zip") }}" rel="nofollow" title="Export this revision in .zip">Download .zip</a></li>
	</ul>
	<pre>{{ lastcommit.message }}</pre>
	<div class="viewblocbottom">
		By {{ lastcommit.committer|rmemail }}, on {{ lastcommit.timestamp|dtformat }}
	</div>
</div>

<div id="readme" class="viewbloc">
	<h2>README</h2>
	{% if readme %}
		<pre>{{ readme|parsereadme }}</pre>
	{% else %}
		<pre>No README file found in the trunk branch...</pre>
	{% endif %}
</div>

{% endblock content %}
