Institution page: wip to fix
[unfold.git] / portal / templates / fibre / fibre_management-tab-about.html
index 30fd067..687b7de 100644 (file)
        {% endfor %}
        </p>
 </div>
-<script>
-$(document).ready(function() {
-    $('#authority_name').text("{{ authority.name|default:authority.authority_hrn }}");
+<script>$(document).ready(function() {
+{% if authority.name %}
+    auth_name = "{{authority.name}}";
+{% else %}
+    auth_name = "{{authority.authority_hrn}}";
+{% endif %}
+    $('#authority_name').text(auth_name);
 });
 </script>