Browse Source

conditionally display volume server public url link

pull/1560/head
Chris Lu 4 years ago
parent
commit
fb124f2d4a
  1. 2
      weed/server/master_ui/templates.go

2
weed/server/master_ui/templates.go

@ -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…
Cancel
Save