Skip to content
Snippets Groups Projects
Commit 7adb73af authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Use templates for filling slots

parent 58ca2f02
No related branches found
No related tags found
No related merge requests found
Pipeline #46189 passed
......@@ -75,10 +75,6 @@
color: #fff;
background-color: #000;
}
.slot-hidden {
display: none;
}
</style>
<!-- Preloading/Preconnecting -->
......@@ -111,7 +107,7 @@
build-time='<%= buildInfo.time %>'
env='<%= buildInfo.env %>'
><dbp-loading-spinner></dbp-loading-spinner>
<div slot="name" class="slot-hidden">
<template slot="name">
TU Graz<br />
<dbp-translated subscribe="lang">
<div slot="de">
......@@ -121,11 +117,11 @@
Graz University of Technology
</div>
</dbp-translated>
</div>
<div slot="logo" class="slot-hidden">
</template>
<template slot="logo">
<dbp-tugraz-logo id="main-logo" subscribe="lang"></dbp-tugraz-logo>
</div>
<div slot="footer-links" class="slot-hidden">
</template>
<template slot="footer-links">
<dbp-translated subscribe="lang">
<div slot="de" class="footer-links">
<a target="_blank" rel="noopener" href="https://www.tugraz.at/ueber-diese-seite/datenschutzerklaerung/">Datenschutz</a>
......@@ -138,7 +134,7 @@
<a rel="noopener" href="mailto:it-support@tugraz.at">Contact</a>
</div>
</dbp-translated>
</div>
</template>
</<%= name %>>
<!-- Error handling for too old browsers -->
......
Subproject commit ae6193fddbced85d0bbf620e4ab7d4aa4dfbd748
Subproject commit e1892a4dc3b0c676eddf60f1e9b5f310cced2c74
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