@@ -40,6 +40,6 @@ project.</p>
<div style="clear: both; padding: 1em;"></div>
{% endif %}
-{% include "patchwork/patch-list.html" %}
+{% include "patchwork/partials/patch-list.html" %}
{% endblock %}
@@ -18,6 +18,6 @@ while updating patches:</p>
</ul>
{% endif %}
-{% include "patchwork/patch-list.html" %}
+{% include "patchwork/partials/patch-list.html" %}
{% endblock %}
similarity index 100%
rename from patchwork/templates/patchwork/download-buttons.html
rename to patchwork/templates/patchwork/partials/download-buttons.html
similarity index 100%
rename from patchwork/templates/patchwork/filters.html
rename to patchwork/templates/patchwork/partials/filters.html
similarity index 100%
rename from patchwork/templates/patchwork/pagination.html
rename to patchwork/templates/patchwork/partials/pagination.html
similarity index 98%
rename from patchwork/templates/patchwork/patch-list.html
rename to patchwork/templates/patchwork/partials/patch-list.html
@@ -4,9 +4,9 @@
{% load project %}
{% load static %}
-{% include "patchwork/filters.html" %}
+{% include "patchwork/partials/filters.html" %}
-{% include "patchwork/pagination.html" %}
+{% include "patchwork/partials/pagination.html" %}
{% if order.editable %}
<table class="patchlist">
@@ -218,7 +218,7 @@ $(document).ready(function() {
</table>
{% if page.paginator.count %}
-{% include "patchwork/pagination.html" %}
+{% include "patchwork/partials/pagination.html" %}
<div class="patchforms" id="patchforms">
@@ -28,7 +28,7 @@ function toggle_div(link_id, headers_id)
</script>
<h1>{{ submission.name }}
-{% include "patchwork/download-buttons.html" %}
+{% include "patchwork/partials/download-buttons.html" %}
</h1>
<table class="patchmeta">
@@ -285,7 +285,7 @@ function toggle_div(link_id, headers_id)
{% if submission.diff %}
<h2>
Patch
- {% include "patchwork/download-buttons.html" %}
+ {% include "patchwork/partials/download-buttons.html" %}
</h2>
<div id="patch" class="patch">
@@ -12,6 +12,6 @@ are in an "action required" state
({% for state in action_required_states %}{% if forloop.last and not forloop.first %} or {% endif %}{{ state }}{% if not forloop.last and not forloop.first %}, {%endif %}{% endfor %}), and are not archived.
</p>
-{% include "patchwork/patch-list.html" %}
+{% include "patchwork/partials/patch-list.html" %}
{% endblock %}
Again, this should make this a little more understandable as it ensures a rough mapping exists between views and template names. Signed-off-by: Stephen Finucane <stephen@that.guru> --- patchwork/templates/patchwork/bundle.html | 2 +- patchwork/templates/patchwork/list.html | 2 +- .../patchwork/{ => partials}/download-buttons.html | 0 patchwork/templates/patchwork/{ => partials}/filters.html | 0 .../templates/patchwork/{ => partials}/pagination.html | 0 .../templates/patchwork/{ => partials}/patch-list.html | 6 +++--- patchwork/templates/patchwork/submission.html | 4 ++-- patchwork/templates/patchwork/todo-list.html | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) rename patchwork/templates/patchwork/{ => partials}/download-buttons.html (100%) rename patchwork/templates/patchwork/{ => partials}/filters.html (100%) rename patchwork/templates/patchwork/{ => partials}/pagination.html (100%) rename patchwork/templates/patchwork/{ => partials}/patch-list.html (98%)