aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-02-11 21:49:51 -0500
committerBobby <[email protected]>2024-02-11 21:49:51 -0500
commit89d1ae0c3579112bd5ea1a868a1d95c7a75314c7 (patch)
tree779edd953f8ce9b633e595846d3b6f5940f6bf4b /templates
parenteecd7db0d9caff2131a4d1142a2cf0063acda3a8 (diff)
downloadthatcomputerscientist-89d1ae0c3579112bd5ea1a868a1d95c7a75314c7.tar.xz
thatcomputerscientist-89d1ae0c3579112bd5ea1a868a1d95c7a75314c7.zip
Optimized image serving + bug fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/dev_status/repo.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/templates/dev_status/repo.html b/templates/dev_status/repo.html
index 83073fc4..7769b03f 100644
--- a/templates/dev_status/repo.html
+++ b/templates/dev_status/repo.html
@@ -13,8 +13,11 @@
style="display: inline-block; vertical-align: middle; height: 16px"
/>
</span>
- <a href="{% if parent == '' %}{% url 'dev_status:repo' repo %}{% else %}{% url 'dev_status:repo-path' repo parent %}{% endif %}">..</a>
- {% endif %}
+ <a
+ href="{% if parent == '' %}{% url 'dev_status:repo' repo %}{% else %}{% url 'dev_status:repo-path' repo parent %}{% endif %}"
+ >..</a
+ >
+ {% endif %}
</p>
{% if files and "byteSize" not in files %}
<table id="file-list" width="100%">
@@ -46,14 +49,14 @@
/>
</span>
{% endif %}
- <a href="{% url 'dev_status:repo-path' repo file.path %}">{{ file.name }}</a>
+ <a href="{% url 'dev_status:repo-path' repo file.path %}"
+ >{{ file.name }}</a
+ >
</td>
- <td>{{ file.commit.message }}</td>
+ <td>{{ file.commit.message|truncatechars:50 }}</td>
<td>{{ file.commit.committedDate }}</td>
</tr>
{% endfor %}
</tbody>
</table>
-{% endif %}
-
-{% endblock %}
+{% endif %} {% endblock %}