mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
conditionally display volume server public url link
This commit is contained in:
parent
8eaa067da5
commit
fb124f2d4a
|
@ -89,7 +89,7 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
|
|||
<td><code>{{ $dc.Id }}</code></td>
|
||||
<td>{{ $rack.Id }}</td>
|
||||
<td><a href="http://{{ $dn.Url }}/ui/index.html">{{ $dn.Url }}</a>
|
||||
{{ if $dn.PublicUrl }}
|
||||
{{ if ne $dn.PublicUrl $dn.Url }}
|
||||
/ <a href="http://{{ $dn.PublicUrl }}/ui/index.html">{{ $dn.PublicUrl }}</a>
|
||||
{{ end }}
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue