git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
warn about non-configured search adapter during indexing
[phorkie.git]
/
data
/
templates
/
list.htm
diff --git
a/data/templates/list.htm
b/data/templates/list.htm
index 5142a7bf40db7e8c0c4a5107d5a1823bb3c7b586..45b32f451402a3ad312d8aacce86a93db2c8a671 100644
(file)
--- a/
data/templates/list.htm
+++ b/
data/templates/list.htm
@@
-1,25
+1,30
@@
{% extends "base.htm" %}
{% block title %}List of all pastes{% endblock %}
{% extends "base.htm" %}
{% block title %}List of all pastes{% endblock %}
+{% block meta %}
+ <link rel="alternate" type="application/atom+xml" title="New pastes" href="feed/new" />
+ <link rel="alternate" type="application/atom+xml" title="Updated pastes" href="feed/updated" />
+{% endblock %}
+
{% block content %}
{% block content %}
-<ul class="list">
+<div class="content-padding-fix"></div>
+<ul class="nav nav-pills nav-stacked">
{% for repo in repos %}
{% for repo in repos %}
- <li>
- <h2><a href="{{repo.getLink('display')}}">{{repo.id}}</a></h2>
- <p>{{repo.getDescription}}</p>
- </li>
+ {% include 'repo-list.htm' %}
{% endfor %}
</ul>
{% endfor %}
</ul>
-<ul class="pager">
- {% if links.prev %}
- <li class="prev">
- <a href="{{links.prev}}">prev</a>
- </li>
- {% endif %}
- {% if links.next %}
- <li class="next">
- <a href="{{links.next}}">next</a>
- </li>
+
+ {% include 'pager.htm' %}
+
+{% endblock %}
+
+{% block sidebar %}
+ {% if recents.results %}
+ <h4>Recently updated</h4>
+ <ul class="unstyled">
+ {% for repo in recents.repos %}
+ {% include 'repo-sidebar-list.htm' %}
+ {% endfor %}
+ </ul>
{% endif %}
{% endif %}
-</ul>
{% endblock %}
{% endblock %}