mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 05:47:56 +08:00
conditionally display volume server public url link
This commit is contained in:
@@ -89,7 +89,7 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
|
|||||||
<td><code>{{ $dc.Id }}</code></td>
|
<td><code>{{ $dc.Id }}</code></td>
|
||||||
<td>{{ $rack.Id }}</td>
|
<td>{{ $rack.Id }}</td>
|
||||||
<td><a href="http://{{ $dn.Url }}/ui/index.html">{{ $dn.Url }}</a>
|
<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>
|
/ <a href="http://{{ $dn.PublicUrl }}/ui/index.html">{{ $dn.PublicUrl }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</td>
|
</td>
|
||||||
|
Reference in New Issue
Block a user