diff options
author | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-09 20:48:24 -0700 |
---|---|---|
committer | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-09 20:48:24 -0700 |
commit | 9f02e8aed1b59d209c66ca29ba1df843ea9be79e (patch) | |
tree | e42314c548c9ff872bca10ff1b4a8e79fe53f206 /templates | |
parent | 3df6eace945cc07bc02cdeff3dbad5552954d279 (diff) | |
download | roka-9f02e8aed1b59d209c66ca29ba1df843ea9be79e.tar.gz roka-9f02e8aed1b59d209c66ca29ba1df843ea9be79e.zip |
Make showing path optional
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index a30577e..a31b763 100644 --- a/templates/index.html +++ b/templates/index.html @@ -29,6 +29,9 @@ <tr> <th>Title</th> <th>Author</th> + {% if show_path %} + <th>Path</th> + {% endif %} <th>Tracks</th> <th>Duration</th> <th>Size</th> @@ -37,6 +40,9 @@ <tr> <td><a href="?a={{ b }}">{{ v['title']|escape }}</a></td> <td>{{ v['author'] }}</td> + {% if show_path %} + <td>{{ v['path']|escape }}</td> + {% endif %} <td>{{ v['files']|length }}</td> <td>{{ v['duration_str'] }}</td> <td>{{ v['size_str'] }}</td> |