dnet-applications/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/parts/org_details.html

35 lines
1.2 KiB
HTML

<div class="card mb-3" ng-show="show != 'hidden'">
<div class="card-header py-1" ng-class="{
'text-white bg-primary' : show == 'default',
'text-white bg-success' : show == 'success',
'text-white bg-info' : show == 'info',
'bg-secondary' : show == 'secondary',
}">{{orgTitle}}</div>
<table class="table table-sm table-condensed" style="table-layout: fixed">
<tr class="d-flex">
<th class="col-4 pl-3">Name</th>
<td class="col-8">{{org.name}}</td>
</tr>
<tr class="d-flex">
<th class="col-4 pl-3">Type</th>
<td class="col-8">{{org.type}}</td>
</tr>
<tr class="d-flex">
<th class="col-4 pl-3">Place</th>
<td class="col-8">{{org.city || '-'}}, {{org.country}}</td>
</tr>
<tr class="d-flex">
<th class="col-4 pl-3">Acronyms</th>
<td class="col-8">{{org.acronyms.join(', ')}}</td>
</tr>
<tr class="d-flex">
<th class="col-4 pl-3">Also known as</th>
<td class="col-8"><span ng-repeat="n in org.otherNames">{{n.name}}<br /></span></td>
</tr>
<tr class="d-flex">
<th class="col-4 pl-3">Urls</th>
<td class="col-8"><span ng-repeat="u in org.urls"><a href="{{u}}" target="_blank">{{u}}</a><br /></span></td>
</tr>
</table>
</div>