diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-10-23 23:58:46 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-10-23 23:58:46 -0700 |
| commit | fb124f2d4a1ad80fca836f6e37585c1ee6e251cb (patch) | |
| tree | 7fd052477e4b5a20364e53a1800cea8ca8dfe7d4 | |
| parent | 8eaa067da5315835701a3d0c5c183ab9499ea831 (diff) | |
| download | seaweedfs-fb124f2d4a1ad80fca836f6e37585c1ee6e251cb.tar.xz seaweedfs-fb124f2d4a1ad80fca836f6e37585c1ee6e251cb.zip | |
conditionally display volume server public url link
| -rw-r--r-- | weed/server/master_ui/templates.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/master_ui/templates.go b/weed/server/master_ui/templates.go index 8e6b8333a..60873f6aa 100644 --- a/weed/server/master_ui/templates.go +++ b/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> |
