From 7a7332b906198a834dfe14011762e91bf2116a34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?N=2EGeisler=20=26=20B=2E=20H=C3=A4ttasch?= <ak@kif.rocks>
Date: Wed, 8 Jan 2020 22:27:23 +0100
Subject: [PATCH] standardize formatting

---
 .../templates/AKSubmission/ak_list_table.html | 98 +++++++++----------
 1 file changed, 49 insertions(+), 49 deletions(-)

diff --git a/AKSubmission/templates/AKSubmission/ak_list_table.html b/AKSubmission/templates/AKSubmission/ak_list_table.html
index ccf3558d..6ce385f9 100644
--- a/AKSubmission/templates/AKSubmission/ak_list_table.html
+++ b/AKSubmission/templates/AKSubmission/ak_list_table.html
@@ -4,53 +4,53 @@
 {% load tags_AKSubmission %}
 
 <table id="akTable" class="table table-striped">
-	<thead>
-	<tr>
-		<th>{% trans "Name" %}</th>
-		<th>{% trans "Who?" %}</th>
-		<th>{% trans 'Category' %}</th>
-		<th>{% trans "Tags" %}</th>
-		<th></th>
-	</tr>
-	</thead>
-	<tbody>
-   {% for ak in AKs %}
-		<tr>
-			<td>
-				<b>{{ ak.name }}</b>
-             {% if ak.present %}
-					 <span class="badge badge-dark badge-pill"
-					       title="{% trans 'present this AK' %}">{% fontawesome_icon "bullhorn" %}</span>
-             {% endif %}
-             {% if ak.reso %}
-					 <span class="badge badge-dark badge-pill"
-					       title="{% trans 'Reso' %}">{% fontawesome_icon "scroll" %}</span>
-             {% endif %}
-			</td>
-			<td>
-             {% if ak.wish %}
-					 <span class="badge badge-dark badge-pill">{% trans "AK Wish" %}</span>
-             {% else %}
-                 {{ ak.owners_list }}
-             {% endif %}
-			</td>
-			<td>{% category_linked_badge ak.category event.slug %}</td>
-			<td>{% tag_list ak.tags.all event.slug %}</td>
-			<td class="text-right">
-				<a href="{% url 'submit:ak_detail' event_slug=ak.event.slug pk=ak.pk %}"
-				   class="btn btn-primary">{% fontawesome_icon 'info' %}</a>
-             {% if ak.link %}
-					 <a href="{{ ak.link }}" class="btn btn-info">{% fontawesome_icon 'external-link-alt' %}</a>
-             {% endif %}
-             {% if event.active %}
-					 <a href="{% url 'submit:ak_edit' event_slug=event.slug pk=ak.pk %}"
-					    class="btn btn-success">{% fontawesome_icon 'pencil-alt' %}</a>
-             {% endif %}
-			</td>
-		</tr>
-		<tr>
-			<td colspan="5" class="small">{{ ak.description }}</td>
-		</tr>
-   {% endfor %}
-	</tbody>
+    <thead>
+    <tr>
+        <th>{% trans "Name" %}</th>
+        <th>{% trans "Who?" %}</th>
+        <th>{% trans 'Category' %}</th>
+        <th>{% trans "Tags" %}</th>
+        <th></th>
+    </tr>
+    </thead>
+    <tbody>
+    {% for ak in AKs %}
+        <tr>
+            <td>
+                <b>{{ ak.name }}</b>
+                {% if ak.present %}
+                    <span class="badge badge-dark badge-pill"
+                          title="{% trans 'present this AK' %}">{% fontawesome_icon "bullhorn" %}</span>
+                {% endif %}
+                {% if ak.reso %}
+                    <span class="badge badge-dark badge-pill"
+                          title="{% trans 'Reso' %}">{% fontawesome_icon "scroll" %}</span>
+                {% endif %}
+            </td>
+            <td>
+                {% if ak.wish %}
+                    <span class="badge badge-dark badge-pill">{% trans "AK Wish" %}</span>
+                {% else %}
+                    {{ ak.owners_list }}
+                {% endif %}
+            </td>
+            <td>{% category_linked_badge ak.category event.slug %}</td>
+            <td>{% tag_list ak.tags.all event.slug %}</td>
+            <td class="text-right">
+                <a href="{% url 'submit:ak_detail' event_slug=ak.event.slug pk=ak.pk %}"
+                   class="btn btn-primary">{% fontawesome_icon 'info' %}</a>
+                {% if ak.link %}
+                    <a href="{{ ak.link }}" class="btn btn-info">{% fontawesome_icon 'external-link-alt' %}</a>
+                {% endif %}
+                {% if event.active %}
+                    <a href="{% url 'submit:ak_edit' event_slug=event.slug pk=ak.pk %}"
+                       class="btn btn-success">{% fontawesome_icon 'pencil-alt' %}</a>
+                {% endif %}
+            </td>
+        </tr>
+        <tr>
+            <td colspan="5" class="small">{{ ak.description }}</td>
+        </tr>
+    {% endfor %}
+    </tbody>
 </table>
-- 
GitLab