OLD | NEW |
1 <head> | 1 <head> |
| 2 <link rel="import" href="class_ref.html"> |
2 <link rel="import" href="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
| 4 <link rel="import" href="service_ref.html"> |
3 </head> | 5 </head> |
4 <polymer-element name="field-ref" extends="observatory-element"> | 6 <polymer-element name="field-ref" extends="service-ref"> |
5 <template> | 7 <template> |
6 <div> | 8 <div> |
7 <template if="{{ field['final'] }}"> final </template> | 9 <template if="{{ ref['final'] }}"> final </template> |
8 <template if="{{ field['const'] }}"> const </template> | 10 <template if="{{ ref['const'] }}"> const </template> |
9 <template if="{{ (field['declared_type']['name'] == 'dynamic' && !field['final
'] && !field['const']) }}"> | 11 <template if="{{ (ref['declared_type']['name'] == 'dynamic' && !ref['final'] &
& !ref['const']) }}"> |
10 var | 12 var |
11 </template> | 13 </template> |
12 <template if="{{ (field['declared_type']['name'] != 'dynamic') }}"> | 14 <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}"> |
13 <a href="{{ app.locationManager.currentIsolateClassLink(field['declared_type']
['id']) }}"> | 15 <class-ref app="{{ app }}" ref="{{ ref['declared_type'] }}"></class-ref> |
14 {{ field['declared_type']['user_name'] }} </a> | |
15 </template> | 16 </template> |
16 <a href="{{ app.locationManager.currentIsolateObjectLink(field['id'])}}"> | 17 <a href="{{ url }}">{{ name }}</a> |
17 {{ field['user_name'] }} </a> | |
18 </div> | 18 </div> |
19 </template> <script type="application/dart" src="field_ref.dart"></script> </pol
ymer-element> | 19 </template> <script type="application/dart" src="field_ref.dart"></script> </pol
ymer-element> |
OLD | NEW |