Commit 8dfbaf94 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '945-escaping' into 'master'

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

See merge request funkwhale/funkwhale!929
parents 8ef680e8 b53bf45c
Fixed escaped pod name displayed on home/about page (#945)
...@@ -3,10 +3,12 @@ ...@@ -3,10 +3,12 @@
<section :class="['ui', 'head', {'with-background': banner}, 'vertical', 'center', 'aligned', 'stripe', 'segment']" :style="headerStyle"> <section :class="['ui', 'head', {'with-background': banner}, 'vertical', 'center', 'aligned', 'stripe', 'segment']" :style="headerStyle">
<div class="segment-content"> <div class="segment-content">
<h1 class="ui center aligned large header"> <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}"> :translate-params="{podName: podName}">
About %{ podName } About %{ podName }!
</translate> </span>
<div v-if="shortDescription" class="sub header"> <div v-if="shortDescription" class="sub header">
{{ shortDescription }} {{ shortDescription }}
</div> </div>
......
...@@ -3,10 +3,12 @@ ...@@ -3,10 +3,12 @@
<section :class="['ui', 'head', {'with-background': banner}, 'vertical', 'center', 'aligned', 'stripe', 'segment']" :style="headerStyle"> <section :class="['ui', 'head', {'with-background': banner}, 'vertical', 'center', 'aligned', 'stripe', 'segment']" :style="headerStyle">
<div class="segment-content"> <div class="segment-content">
<h1 class="ui center aligned large header"> <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}"> :translate-params="{podName: podName}">
Welcome to %{ podName }! Welcome to %{ podName }!
</translate> </span>
<div v-if="shortDescription" class="sub header"> <div v-if="shortDescription" class="sub header">
{{ shortDescription }} {{ shortDescription }}
</div> </div>
......
Supports Markdown
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