Compare commits

..

No commits in common. "29d6d1d2b516335d3a7db178c3a8617f6183721f" and "abedef158397e48d07422ad8982d036870c91f84" have entirely different histories.

2 changed files with 7 additions and 10 deletions

View file

@ -64,13 +64,9 @@ 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_padded,
["", *ticker_content_lines, ""],
)
return ticker_content.strip()

View file

@ -4,7 +4,12 @@
<span class="d-none d-md-flex text-right thw-logo-font mr-2">
{{ above }}
</span>
<v-img class="d-none d-sm-flex" width="56" height="56" :src="logo_url" />
<v-img
class="d-none d-sm-flex"
max-width="56"
max-height="56"
:src="require('@/assets/thw.svg')"
/>
</div>
<v-divider class="d-none d-md-block my-1" />
<span class="d-none d-md-flex thw-logo-font">
@ -23,10 +28,6 @@ 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>