OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
| 3 <link rel="import" href="service_ref.html"> |
3 </head> | 4 </head> |
4 <polymer-element name="instance-ref" extends="observatory-element"> | 5 <polymer-element name="instance-ref" extends="service-ref"> |
5 <template> | 6 <template> |
6 <div> | 7 <div> |
7 <template if="{{ (instance['type'] == 'null') }}"> | 8 <template if="{{ (ref['type'] == 'null') }}"> |
8 {{ "null" }} | 9 {{ "null" }} |
9 </template> | 10 </template> |
10 <template if="{{ (instance['type'] != 'null') }}"> | 11 <template if="{{ (ref['type'] != 'null') }}"> |
11 <a href="{{ app.locationManager.currentIsolateObjectLink(instance['id'])}}"> | 12 <a href="{{ url }}">{{ name }} </a> |
12 {{ instance['preview'] }} | |
13 </a> | |
14 </template> | 13 </template> |
15 </div> | 14 </div> |
16 </template> <script type="application/dart" src="instance_ref.dart"></script> </
polymer-element> | 15 </template> |
| 16 <script type="application/dart" src="instance_ref.dart"></script> |
| 17 </polymer-element> |
OLD | NEW |