remove the word Institutions if there is no authoring organization

WL-1083
This commit is contained in:
Ibrahim
2017-07-04 17:02:15 +05:00
parent c6e085173d
commit d3b68dc173

View File

@@ -6,8 +6,8 @@
<h2 class="hd-1 program-title"><%- programData.title %></h2>
</div>
<div class='authoring-organizations'>
<h2 class="heading">Institutions</h2>
<% if (programData.authoring_organizations.length) { %>
<h2 class="heading">Institutions</h2>
<div class="orgs">
<% _.each(programData.authoring_organizations, function(org) { %>
<img src="<%- org.certificate_logo_image_url || org.logo_image_url %>" class="org-logo" alt="<%- StringUtils.interpolate(