feat: add toggling display of owner column on the index
Diff
templates/index.html | 4 ++++
1 file changed, 4 insertions(+)
@@ -7,7 +7,9 @@
<tr>
<th>Name</th>
<th>Description</th>
{% if config.enable_index_owner %}
<th>Owner</th>
{% endif %}
<th>Idle</th>
</tr>
</thead>
@@ -35,6 +37,7 @@
{%- endif -%}
</a>
</td>
{% if config.enable_index_owner %}
<td>
<a href="/{% if let Some(path) = path %}{{ path }}/{% endif %}{{ repository.name }}">
{%- if let Some(owner) = repository.owner -%}
@@ -42,6 +45,7 @@
{%- endif -%}
</a>
</td>
{% endif %}
<td>
<a href="/{% if let Some(path) = path %}{{ path }}/{% endif %}{{ repository.name }}">
<time datetime="{{ repository.last_modified|format_time }}" title="{{ repository.last_modified|format_time }}">