Skip to content

Commit 65e1e51

Browse files
committed
search results: remove status, add group logo.
1 parent c01e82c commit 65e1e51

3 files changed

Lines changed: 18 additions & 10 deletions

File tree

web/src/main/webapp/catalog/components/search/resultsview/partials/viewtemplates/grid.html

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,10 @@ <h1>
7979
</div>
8080
<!-- /.gn-card-body -->
8181

82-
<div
83-
class="panel-footer gn-card-footer clearfix"
84-
data-ng-class="[{
85-
'gn-status-bg': showStatusFooterFor && showStatusFooterFor.length > 0
86-
},
87-
showStatusFooterFor.indexOf(md.cl_status[0].key) !== -1 ? 'gn-status-' + md.cl_status[0].key + '-bg' : '']"
88-
>
89-
<div data-gn-status-badge="md"></div>
90-
<div class="gn-toolbar">
82+
<div class="panel-footer gn-card-footer clearfix">
83+
<div data-gn-record-origin-logo="md"></div>
84+
<div class="break"></div>
85+
<div class="gn-toolbar ">
9186
<div class="pull-left">
9287
<strong>
9388
<i data-ng-if="::md.isHarvested == 'true'"

web/src/main/webapp/catalog/views/default/less/gn_card_default.less

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@
181181
.gn-card-footer {
182182
padding: 5px 10px 5px 5px;
183183
height: calc(~"@{gn-card-footer-height} - 2px");
184-
display: flex;
185184
&.panel-footer {
186185
background: none;
187186
border-color: transparent;
@@ -211,6 +210,13 @@
211210
.gn-md-related {
212211
margin-right: 3px;
213212
}
213+
.gn-providedby-logo {
214+
flex-grow: 1;
215+
}
216+
.break {
217+
flex-basis: 100%;
218+
height: 4px;
219+
}
214220
.gn-toolbar {
215221
flex-grow: 1;
216222
}

web/src/main/webapp/catalog/views/default/less/gn_results_default.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,15 @@
7575
ul.gn-resultview, [data-gn-user-searches-list] {
7676
.gn-source-logo {
7777
margin-left: 5px;
78+
margin-right: 5px;
7879
z-index: 10;
7980
height: 20px;
81+
float: left;
82+
}
83+
}
84+
85+
[data-gn-user-searches-list] {
86+
.gn-source-logo {
8087
float: right;
8188
}
8289
}

0 commit comments

Comments
 (0)