File tree 1 file changed +67
-0
lines changed
readthedocs/templates/projects
1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ {% extends "projects/base_project.html" %}
2
+ {% load i18n %}
3
+
4
+ {% load pagination_tags %}
5
+
6
+ {% block title %}
7
+ {% if person %}
8
+ {% if tag %}
9
+ {% blocktrans with person.username as username and tag.name as tag %}Projects by {{ username }} tagged with {{ tag }}{% endblocktrans %}
10
+ {% else %}
11
+ {% blocktrans with person.username as username %}Projects by {{ username }}{% endblocktrans %}
12
+ {% endif %}
13
+ {% else %}
14
+ {% if tag %}
15
+ {% blocktrans with tag.name as tag %}Projects tagged with {{ tag }}{% endblocktrans %}
16
+ {% else %}
17
+ {% trans "Projects" %}
18
+ {% endif %}
19
+ {% endif %}
20
+ {% endblock %}
21
+
22
+ {% block nav-browse %}class="active"{% endblock %}
23
+
24
+ {% block content-header %}
25
+ {% if person %}
26
+ {% if tag %}
27
+ < h1 > {% blocktrans with person.username as username and tag.name as tag %}Projects by {{ username }} tagged with {{ tag }}{% endblocktrans %}</ h1 >
28
+ {% else %}
29
+ < h1 > {% blocktrans with person.username as username %}Projects by {{ username }}{% endblocktrans %}</ h1 >
30
+ {% endif %}
31
+ {% else %}
32
+ {% if tag %}
33
+ < h1 > {% blocktrans with tag.name as tag %}Projects tagged with {{ tag }}{% endblocktrans %}</ h1 >
34
+ {% else %}
35
+ < h1 > {% trans "Projects" %}</ h1 >
36
+ {% endif %}
37
+ {% endif %}
38
+ {% endblock %}
39
+
40
+ {% block content %}
41
+ {% autopaginate project_list 15 %}
42
+
43
+ <!-- BEGIN projects list -->
44
+ < div class ="module ">
45
+ < div class ="module-wrapper ">
46
+
47
+ < div class ="module-header ">
48
+ < h3 > {% trans "Browse projects" %}</ h3 >
49
+ </ div >
50
+
51
+ < div class ="module-list ">
52
+ < div class ="module-list-wrapper ">
53
+
54
+ < ul >
55
+ {% include "core/project_list_detailed.html" %}
56
+ </ ul >
57
+
58
+ </ div >
59
+ </ div >
60
+
61
+ </ div >
62
+ </ div >
63
+ <!-- END projects list -->
64
+
65
+ {% paginate %}
66
+
67
+ {% endblock %}
You can’t perform that action at this time.
0 commit comments