Skip to content

Commit d637b6a

Browse files
committed
Merge branch 'edge'
2 parents cda0fe4 + 0125548 commit d637b6a

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

datastore/apps/sra/static/sra/templates/directory-display.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ <h3>{{model.metadata['Title'].value}}</h3>
3737
</div>
3838
<p ng-if="model.display.curatedOrCommunity == 'community'" class='italic'> This dataset is not stable or permanent and might change.</p>
3939

40+
<div class="actions-box">
41+
<a ng-if="model.metadata['external_data_link'].value" ng-href="{{model.metadata['external_data_link'].value}}" class="btn btn-info" target="_blank">
42+
External Data Link
43+
</a>
44+
<a id="analysis-tool" ng-if="model.metadata['Analysis_tool'].value" ng-href="{{model.metadata['Analysis_tool'].value}}" class="btn btn-info" target="_blank">
45+
Analysis tool
46+
</a>
47+
</div>
48+
4049
<div class="actions-box">
4150
<button type="button" class="btn btn-primary" ng-click="metadataToggle()">
4251
{{model.display.showMoreButton}}
@@ -144,4 +153,4 @@ <h3>{{model.metadata['Title'].value}}</h3>
144153

145154
<div>
146155
Displaying {{model.pagination.item_start}}-{{model.pagination.item_end}} of {{model.collection.total}} items
147-
</div>
156+
</div>

datastore/static/css/main.css

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,6 @@ footer .nav > li > a:hover {
127127
word-wrap: break-word;
128128
}
129129

130-
#data-commons-icon {
131-
height: 50px;
132-
margin-left: 5px;
133-
}
134-
135130
.page-logo-title {
136131
font-size: 18px;
137132
padding-right: 15px;
@@ -140,6 +135,15 @@ footer .nav > li > a:hover {
140135
font-weight:normal;
141136
}
142137

138+
.btn-primary {
139+
background-color: #0971ab;
140+
}
141+
142+
#data-commons-icon {
143+
height: 50px;
144+
margin-left: 5px;
145+
}
146+
143147
#data-commons-heading {
144148
display: inline-block;
145149
width: 100%
@@ -164,6 +168,10 @@ footer .nav > li > a:hover {
164168
float: right;
165169
}
166170

171+
#analysis-tool {
172+
float: right;
173+
}
174+
167175
#folder-metadata-display dt{
168176
float: left;
169177
clear: left;
@@ -184,4 +192,4 @@ footer .nav > li > a:hover {
184192
background-color: #e2e2e2;
185193
border: 1px solid #0971ab;
186194
padding: 4px;
187-
}
195+
}

0 commit comments

Comments
 (0)