common/corpus-common-addon/addon/templates/components/doc-location.hbs
changeset 304 20071981ba2a
child 492 acecbffac2c4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/corpus-common-addon/addon/templates/components/doc-location.hbs	Tue Sep 27 23:43:29 2016 +0200
@@ -0,0 +1,7 @@
+{{#if isLocationLink}}
+<a href="{{url}}" target="_blank" title="{{url}}" class="bo-doc-ref-link doc-link-geonames">
+  {{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}
+</a>
+{{else}}
+{{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}
+{{/if}}