Project

General

Profile

1
<p class="muted"><b>ID: </b>{{orgId}}</p>
2

    
3
<div class="row">
4
	<div class="col-xl-8 col-lg-10">
5
		<div class="card">
6
			<div class="card-header">
7
				<ul class="nav nav-tabs card-header-tabs">
8
					<li class="nav-item">
9
						<a href="#!/metadata/{{orgId}}" class="nav-link">Metadata</a>
10
					</li>
11
					<li class="nav-item">
12
						<a href="#!/relations/{{orgId}}" class="nav-link" href="#">Relations</a>
13
					</li>
14
					<li class="nav-item">
15
						<a href="javascript:void(0)" class="nav-link active" href="#">Similarities</a>
16
					</li>
17
				</ul>
18
			</div>
19
			
20
			<div class="card-body text-muted" ng-if="similarities.length == 0">
21
				No similarities
22
			</div>
23
			
24
			<table class="table table-sm mt-2"  ng-if="similarities.length > 0">
25
				<thead>
26
					<tr>
27
						<th class="pl-3" style="border-top: none;">Related organization</th>
28
						<th style="border-top: none;">Acronym</th>
29
						<th style="border-top: none;">Country</th>
30
						<th></th>
31
					</tr>
32
				</thead>
33
				<tbody>
34
					<tr ng-repeat="sr in similarities">
35
						<td class="pl-3">
36
							<a href="https://explore.openaire.eu/search/organization?organizationId={{sr.openaireId}}" target="_blank" title="{{sr.openaireId}}">{{sr.oaName}}</a>
37
							<span class="small" ng-if="sr.oaCollectedFrom"><br /><b>from: </b>{{sr.oaCollectedFrom}}</span>
38
							<span class="small" ng-if="sr.oaUrl" ><br /><b>URL: </b><a href="{{sr.oaUrl}}" target="_blank">{{sr.oaUrl}}</a></span>
39
						</td>
40
						<td>{{sr.oaAcronym}}</td>
41
						<td>{{sr.oaCountry}}</td>
42
						<td>
43
							<div class="btn-group btn-group-toggle" data-toggle="buttons">
44
								<label class="btn btn-danger" ng-class="{'active' : sr.relType == 'is_different'}">
45
									<input type="radio" autocomplete="off" ng-model="sr.relType"> different
46
								</label>
47
								<label class="btn btn-secondary" ng-class="{'active' : sr.relType == 'suggested'}" ng-model="sr.relType">
48
									<input type="radio" autocomplete="off"> suggested
49
								</label>
50
								<label class="btn btn-success" ng-class="{'active' : sr.relType == 'is_similar'}">
51
									<input type="radio" autocomplete="off" ng-model="sr.relType"/> similar
52
								</label>
53
							</div>		
54
						</td>
55
					</tr>
56
				</tbody>
57
			</table>
58
			
59
			<div class="card-footer">
60
			
61
			</div>
62
		</div>
63
	</div>
64
</div>
(6-6/6)