mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-30 13:35:49 +01:00
d51e5ab65d
- fix: Translation fixes - fix: Various fixes - feat: PB translations, configuration changes - fix: Bugfixes GitOrigin-RevId: 55f8b148c42a296162fc707c36a5146ca0073b4b
43 lines
564 B
Vue
43 lines
564 B
Vue
<template lang="pug">
|
|
tr(v-if="value")
|
|
th {{ label }}
|
|
td
|
|
a(:href="url" download) {{ value }}
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'VTrLink',
|
|
|
|
props: {
|
|
value: {
|
|
default: null,
|
|
required: true,
|
|
type: String
|
|
},
|
|
url: {
|
|
required: true,
|
|
type: String
|
|
},
|
|
label: {
|
|
required: true,
|
|
type: String
|
|
}
|
|
},
|
|
data () {
|
|
return {
|
|
showAll: false
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
tr {
|
|
word-break: break-all;
|
|
}
|
|
th {
|
|
white-space: nowrap;
|
|
}
|
|
</style>
|