File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed
readthedocsext/theme/templates Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change
1
+ {% comment %}
2
+ This is the Knockout template used for sidebar "Help topics" lists. This block
3
+ is found on many of the project edit pages, as well as many of the other project
4
+ pages that include forms.
5
+ {% endcomment %}
6
+
7
+ < script type ="text/html " id ="doc-topics ">
8
+ < div class = "ui small centered inline loader" data-bind = "css: { active: is_loading }" > </ div >
9
+ < ul class = "ui list" data - bind = "foreach: topics" >
10
+ < li class = "item" >
11
+ < div class = "content" >
12
+ < a class = "header" href = "#" data-bind = "attr: { href: url }, text: text" target = "_blank" > </ a >
13
+ </ div >
14
+ </ li >
15
+ < / u l >
16
+ </ script >
Original file line number Diff line number Diff line change @@ -103,14 +103,5 @@ <h2 class="ui small header">{% trans "Help topics" %}</h2>
103
103
104
104
</ div >
105
105
106
- < script type ="text/html " id ="doc-topics ">
107
- < div class = "ui small centered inline loader" data-bind = "css: { active: is_loading }" > </ div >
108
- < ul class = "ui list" data - bind = "foreach: topics" >
109
- < li class = "item" >
110
- < div class = "content" >
111
- < a class = "header" href = "#" data-bind = "attr: { href: url }, text: text" target = "_blank" > </ a >
112
- </ div >
113
- </ li >
114
- < / u l >
115
- </ script >
106
+ {% include "includes/utils/embed_docs.html" %}
116
107
{% endblock content %}
You can’t perform that action at this time.
0 commit comments