blob: ecf3f0679d06e0b9bf881dffbab97d6f85ff9e9a [file] [log] [blame]
<head>
<link rel="import" href="observatory_element.html">
<link rel="import" href="service_ref.html">
</head>
<polymer-element name="instance-ref" extends="service-ref">
<template>
<div>
<template if="{{ (ref['type'] == 'null') }}">
unexpected null
</template>
<template if="{{ (ref['type'] == '@Null') }}">
{{ name }}
</template>
<template if="{{ (ref['type'] != 'null') && ref['type'] != '@Null' }}">
<a href="{{ url }}">{{ name }} </a>
</template>
</div>
</template>
<script type="application/dart" src="instance_ref.dart"></script>
</polymer-element>