Commit 69cb75e4 authored by odlai's avatar odlai

fix some bug

parent 0adb0d1a
...@@ -24,7 +24,12 @@ ...@@ -24,7 +24,12 @@
@if(empty($content['Ports'][0]['PrivatePort'])) @if(empty($content['Ports'][0]['PrivatePort']))
<td></td> <td></td>
@else @else
<td>{{$content['Ports'][0]['PrivatePort']}}:{{$content['Ports'][0]['PublicPort']}}</td> <td>{{$content['Ports'][0]['PrivatePort']}}:
@if(empty($content['Ports'][0]['PublicPort']))
@else
{{$content['Ports'][0]['PublicPort']}}
@endif
</td>
@endif @endif
<td>{{$content['Status']}}</td> <td>{{$content['Status']}}</td>
<td>{{date('Y-m-d H:i:s',$content['Created'])}}</td><!--timestamp to date--> <td>{{date('Y-m-d H:i:s',$content['Created'])}}</td><!--timestamp to date-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment