Skip to content
Snippets Groups Projects
Commit 5c5ee82b authored by Rasmus Fuhse's avatar Rasmus Fuhse Committed by Jan-Hendrik Willms
Browse files

Resolve "OER-Campus: Suche bleibt kommentarlos, wenn nichts gefunden wurde"

parent b73f8f90
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,11 @@
</div>
<ul class="results oer_material_overview">
<div v-if="results !== false && results.length === 0" class="oer_no_results">
<?= MessageBox::info(_('Keine Ergebnisse gefunden.'))?>
</div>
<ul class="results oer_material_overview" v-if="results && results.length > 0">
<li v-for="result in results" :key="result.material_id">
<article class="contentbox" :title="result.name">
<a :href="getMaterialURL(result.material_id)">
......
......@@ -426,6 +426,11 @@ ul.reviews, ol.reviews {
}
}
}
.oer_no_results {
max-width: 840px;
margin-top: 20px;
}
}
.oer_columns {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment