Commit 82f2e842 authored by Phyks's avatar Phyks

Add emphasis to the expired status

parent 1548f017
Pipeline #79572 failed with stage
in 4 minutes and 52 seconds
......@@ -12,7 +12,7 @@
</template>
[{{ flat.id.split("@")[1] }}]
{{ flat.is_expired ? "[" + $t("common.expired") + "]" : null }}
<span class="expired">{{ flat.is_expired ? "[" + $t("common.expired") + "]" : null }}</span>
{{ flat.title }}
<template v-if="photo">
......@@ -88,3 +88,10 @@ export default {
},
};
</script>
<style scoped>
.expired {
font-weight: bold;
text-transform: uppercase;
}
</style>
......@@ -11,7 +11,7 @@
-->{{ flat.status ? capitalize($t("status." + flat.status)) : '' }}<!--
--></router-link><!--
-->) {{ flat.title }} [{{ flat.id.split("@")[1] }}]
{{ flat.is_expired ? '[' + $t('common.expired') + ']' : '' }}
<span class="expired">{{ flat.is_expired ? '[' + $t('common.expired') + ']' : '' }}</span>
</h2>
<div class="grid">
<div class="left-panel">
......@@ -369,6 +369,11 @@ export default {
</script>
<style scoped>
.expired {
font-weight: bold;
text-transform: uppercase;
}
@media screen and (min-width: 768px) {
.grid {
display: grid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment