Index: dart/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_view.html |
=================================================================== |
--- dart/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_view.html (revision 31530) |
+++ dart/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_view.html (working copy) |
@@ -1,4 +1,5 @@ |
<head> |
+ <link rel="import" href="class_ref.html"> |
<link rel="import" href="observatory_element.html"> |
<link rel="import" href="error_view.html"> |
<link rel="import" href="field_ref.html"> |
@@ -8,12 +9,10 @@ |
<template> |
<div class="row"> |
<div class="col-md-8 col-md-offset-2"> |
- <div class="panel panel-warning"> |
+ <div class="panel panel-warning"> |
<div class="panel-heading"> |
Instance of |
- <a href="{{ app.locationManager.currentIsolateClassLink(instance['class']['id'])}}"> |
- {{ instance['class']['user_name'] }} |
- </a> |
+ <class-ref app="{{ app }}" ref="{{ instance['class'] }}"></class-ref> |
</div> |
<div class="panel-body"> |
<template if="{{ instance['error'] == null }}"> |
@@ -28,8 +27,8 @@ |
<table class="table table-hover"> |
<tbody> |
<tr template repeat="{{ field in instance['fields'] }}"> |
- <td><field-ref app="{{ app }}" field="{{ field }}"></field-ref></td> |
- <td><instance-ref app="{{ app }}" instance="{{ field['value'] }}"></instance-ref></td> |
+ <td><field-ref app="{{ app }}" ref="{{ field }}"></field-ref></td> |
+ <td><instance-ref app="{{ app }}" ref="{{ field['value'] }}"></instance-ref></td> |
</tr> |
</tbody> |
</table> |
@@ -44,4 +43,3 @@ |
</template> |
<script type="application/dart" src="instance_view.dart"></script> |
</polymer-element> |
-t> |