Make "Refresh" link work

This seems to be a subtle difference from nevow: with `href="."`,
rendered link target will be `/uri/`, so clicking "Refresh" will
result in an error message like so: "GET /uri requires uri=".

With `href=""`, the rendered link target will be `/uri/URI:...`, which
is what we need.
This commit is contained in:
Sajith Sasidharan 2020-05-29 21:38:35 -04:00 committed by Sajith Sasidharan
parent 378b20c51a
commit fccc331671

View File

@ -31,7 +31,7 @@
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="toolbar-item" t:render="welcome" />
<li class="toolbar-item"><a href=".">Refresh</a></li>
<li class="toolbar-item"><a href="">Refresh</a></li>
<li class="toolbar-item"><a href="?t=info">More info on this directory</a></li>
<li class="toolbar-item" t:render="show_readonly" />
</ul>