Project

General

Profile

« Previous | Next » 

Revision 58255

partial implementation of merge orgs modal

View differences:

org_details.html
1 1
<div class="card mb-3" ng-show="show != 'hidden'">
2
	<div class="card-header text-white py-1" ng-class="{'bg-primary' : show == 'default', 'bg-success' : show == 'success', 'bg-info' : show == 'info' }">{{orgTitle}}</div>
2
	<div class="card-header py-1" ng-class="{
3
		'text-white bg-primary' : show == 'default', 
4
		'text-white bg-success' : show == 'success', 
5
		'text-white bg-info'    : show == 'info',
6
		'bg-secondary'          : show == 'secondary',
7
		}">{{orgTitle}}</div>
3 8
	<table class="table table-sm table-condensed">
4 9
		<tr class="d-flex">
5
			<th class="col-4">Name</th>
10
			<th class="col-4 pl-3">Name</th>
6 11
			<td class="col-8">{{org.name}}</td>
7 12
		</tr>
8 13
		<tr class="d-flex">
9
			<th class="col-4">Type</th>
14
			<th class="col-4 pl-3">Type</th>
10 15
			<td class="col-8">{{org.type}}</td>
11 16
		</tr>
12 17
		<tr class="d-flex">
13
			<th class="col-4">Place</th>
18
			<th class="col-4 pl-3">Place</th>
14 19
			<td class="col-8">{{org.city}}, {{org.country}}</td>
15 20
		</tr>
16 21
		<tr class="d-flex">
17
			<th class="col-4">Acronyms</th>
22
			<th class="col-4 pl-3">Acronyms</th>
18 23
			<td class="col-8">{{org.acronyms.join(', ')}}</td>
19 24
		</tr>
20 25
		<tr class="d-flex">
21
			<th class="col-4">Also known as</th>
26
			<th class="col-4 pl-3">Also known as</th>
22 27
			<td class="col-8"><span ng-repeat="n in org.otherNames">{{n.name}}<br /></span></td>
23 28
		</tr>
24 29
		<tr class="d-flex">
25
			<th class="col-4">Urls</th>
30
			<th class="col-4 pl-3">Urls</th>
26 31
			<td class="col-8"><span ng-repeat="u in org.urls"><a href="{{u}}" target="_blank">{{u}}</a><br /></span></td>
27 32
		</tr>
28 33
	</table>

Also available in: Unified diff