FlightDeck/apps/jetpack/templates/package_browser_user_addons...

39 строки
1.1 KiB
HTML

{% extends "package_browser.html" %}
{% block title %}{{ author.get_profile()}} - Recent Add-ons - {% endblock %}
{% block page_content %}
<h2 class="UI_Heading">
<a href='{{ url('person_public_profile', author.username ) }}'>{{ author.get_profile()}}</a>:
Add-ons {% if other_packages_number %}
(See <a href="{{ url('jp_browser_user_libraries', author.username ) }}">Libraries</a>)
{% endif %}
</h2>
<ul class="UI_Browser">
{% include "_package_browser_addons_list.html" %}
</ul>
{% if pager.has_other_pages %}
<ul class="UI_Pagination">
{% if pager.has_previous %}
<li class="UI_Pagin_Action prev">
<span></span>
<a title="" href="{{ url('jp_browser_user_addons_page', author.username, pager.previous_page_number() ) }}">
Previous
</a>
</li>
{% endif %}
<li class='current'>{{ pager.number }}</li>
{% if pager.has_next %}
<li class="UI_Pagin_Action next">
<a title="" href="{{ url('jp_browser_user_addons_page', author.username, pager.next_page_number() ) }}">
Next
</a>
<span></span>
</li>
{% endif %}
</ul>
{% endif %}
{% endblock %}