Merge branch '945-escaping' into 'master'

Fix #945: Fixed escaped pod name displayed on home/about page

See merge request funkwhale/funkwhale!929
environments/review-front-594-ofn00k/deployments/3014
Eliot Berriot 2019-10-18 09:38:15 +02:00
commit 8dfbaf946a
3 zmienionych plików z 10 dodań i 5 usunięć

Wyświetl plik

@ -0,0 +1 @@
Fixed escaped pod name displayed on home/about page (#945)

Wyświetl plik

@ -3,10 +3,12 @@
<section :class="['ui', 'head', {'with-background': banner}, 'vertical', 'center', 'aligned', 'stripe', 'segment']" :style="headerStyle">
<div class="segment-content">
<h1 class="ui center aligned large header">
<translate translate-context="Content/Home/Header"
<span
v-translate="{podName: podName}"
translate-context="Content/Home/Header"
:translate-params="{podName: podName}">
About %{ podName }
</translate>
About %{ podName }!
</span>
<div v-if="shortDescription" class="sub header">
{{ shortDescription }}
</div>

Wyświetl plik

@ -3,10 +3,12 @@
<section :class="['ui', 'head', {'with-background': banner}, 'vertical', 'center', 'aligned', 'stripe', 'segment']" :style="headerStyle">
<div class="segment-content">
<h1 class="ui center aligned large header">
<translate translate-context="Content/Home/Header"
<span
v-translate="{podName: podName}"
translate-context="Content/Home/Header"
:translate-params="{podName: podName}">
Welcome to %{ podName }!
</translate>
</span>
<div v-if="shortDescription" class="sub header">
{{ shortDescription }}
</div>