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

This commit is contained in:
Eliot Berriot 2019-10-16 10:34:52 +02:00
parent db80710160
commit b53bf45cc5
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
3 changed files with 10 additions and 5 deletions

View File

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

View File

@ -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>

View File

@ -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>