aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Garrett <dylan.garrett@gmail.com>2021-06-07 23:05:59 -0700
committerDylan Garrett <dylan.garrett@gmail.com>2021-06-07 23:05:59 -0700
commitf33ee09ceff303cf26ca22f24f837f00d4963b76 (patch)
tree778505b76b5c44753256421a8bbebd02c0dede45
parent53d8bcb0c29f5e7a8492ad715ca25930f997f352 (diff)
downloadroka-f33ee09ceff303cf26ca22f24f837f00d4963b76.tar.gz
roka-f33ee09ceff303cf26ca22f24f837f00d4963b76.zip
Put the Author instead of the filename in the index
-rw-r--r--templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index c05ff8e..dc0eddd 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -28,7 +28,7 @@
<table>
<tr>
<th>Title</th>
- <th>Path</th>
+ <th>Author</th>
<th>Tracks</th>
<th>Duration</th>
<th>Size</th>
@@ -36,7 +36,7 @@
{% for b, v in books.items() %}
<tr>
<td><a href="?a={{ b }}">{{ v['title']|escape }}</a></td>
- <td>{{ v['path']|escape }}</td>
+ <td>{{ v['author']|escape }}</td>
<td>{{ v['files']|length }}</td>
<td>{{ v['duration_str'] }}</td>
<td>{{ v['size_str'] }}</td>