Commit c86c26a0 authored by Thomas Boerger's avatar Thomas Boerger

Added "go up" link to browse template

In order to have directly a link within the browse listing I have added
a link to the top of the table to get one level up in the tree. Added
that after a chat with @mholt.
Signed-off-by: default avatarThomas Boerger <thomas@webhippie.de>
parent 0a7ca64f
......@@ -210,7 +210,8 @@ td:first-child svg {
position: absolute;
}
td .name {
td .name,
td .goup {
margin-left: 1.75em;
word-break: break-all;
overflow-wrap: break-word;
......@@ -342,6 +343,17 @@ footer {
{{end}}
</th>
</tr>
{{if .CanGoUp}}
<tr>
<td>
<a href="..">
<span class="goup">Go up</span>
</a>
</td>
<td>&mdash;</td>
<td>&mdash;</td>
</tr>
{{end}}
{{range .Items}}
<tr>
<td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment