2018-03-19 19:08:41 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-03-20 03:17:33 +01:00
|
|
|
{{ package.title }}
|
2018-03-19 19:08:41 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-03-20 03:17:33 +01:00
|
|
|
<h1>{{ package.title }} by {{ package.author.display_name }}</h1>
|
|
|
|
|
|
|
|
<aside class="asideright box box_grey">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>Name</td>
|
|
|
|
<td>{{ package.name }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Type</td>
|
|
|
|
<td>{{ package.type.getTitle() }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<ul class="buttonset linedbuttonset">
|
2018-03-20 03:58:31 +01:00
|
|
|
{% if package.checkPerm(current_user, "EDIT_PACKAGE") %}<li><a href="{{ package.getEditURL() }}">Edit</a></li>{% endif %}
|
2018-03-20 03:17:33 +01:00
|
|
|
{% if package.repo %}<li><a href="{{ package.repo }}">View Source</a></li>{% endif %}
|
|
|
|
{% if package.forums %}<li><a href="{{ package.forums }}">Forums</a></li>{% endif %}
|
|
|
|
{% if package.issueTracker %}<li><a href="{{ package.issueTracker }}">Issue Tracker</a></li>{% endif %}
|
|
|
|
{% if package.website %}<li><a href="{{ package.website }}">Website</a></li>{% endif %}
|
|
|
|
</ul>
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
<p class="package-short-large">{{ package.shortDesc }}</p>
|
|
|
|
|
|
|
|
{{ package.desc | markdown }}
|
2018-03-19 19:08:41 +01:00
|
|
|
{% endblock %}
|