Compare commits
2 commits
abedef1583
...
29d6d1d2b5
| Author | SHA1 | Date | |
|---|---|---|---|
| 29d6d1d2b5 | |||
| 16348530ee |
2 changed files with 10 additions and 7 deletions
|
|
@ -64,9 +64,13 @@ async def get_ticker_content_lines(
|
|||
async def get_ticker_content(
|
||||
ticker_content_lines: Iterator[str] = Depends(get_ticker_content_lines),
|
||||
) -> str:
|
||||
ticker_content_padded = ["", *ticker_content_lines, ""]
|
||||
if len(ticker_content_padded) == 2:
|
||||
return ""
|
||||
|
||||
cfg = await Config.get()
|
||||
ticker_content = cfg.ticker.separator.join(
|
||||
["", *ticker_content_lines, ""],
|
||||
ticker_content_padded,
|
||||
)
|
||||
|
||||
return ticker_content.strip()
|
||||
|
|
|
|||
|
|
@ -4,12 +4,7 @@
|
|||
<span class="d-none d-md-flex text-right thw-logo-font mr-2">
|
||||
{{ above }}
|
||||
</span>
|
||||
<v-img
|
||||
class="d-none d-sm-flex"
|
||||
max-width="56"
|
||||
max-height="56"
|
||||
:src="require('@/assets/thw.svg')"
|
||||
/>
|
||||
<v-img class="d-none d-sm-flex" width="56" height="56" :src="logo_url" />
|
||||
</div>
|
||||
<v-divider class="d-none d-md-block my-1" />
|
||||
<span class="d-none d-md-flex thw-logo-font">
|
||||
|
|
@ -28,6 +23,10 @@ export default class THWLogo extends Vue {
|
|||
|
||||
@Prop({ required: true })
|
||||
private readonly below!: string;
|
||||
|
||||
private get logo_url(): string {
|
||||
return this.$ovdashboard.api_url("file/get/logo");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue