Commit c72613fb authored by Laurent Wouters's avatar Laurent Wouters
Browse files

[fix] Added view metadata to view rendering

parent f80c4fa8f9c7
......@@ -57,6 +57,20 @@
</tr>
</tbody>
</table>
<hr/>
<div class="row" style="color: darkgrey; font-size: 8pt; margin-top: 15pt;">
<span>Root: {{context.root}}</span>
<span style="margin-left: 10pt;">
Selected language:
<span v-if="context.options[context.root].language != null">{{context.options[context.root].language.name}}</span>
<span v-else>=&gt;</span>
</span>
<span style="margin-left: 10pt;">
Browser language:
<span v-if="context.browserLanguage != null">{{context.browserLanguage.name}}</span>
<span v-else>=&gt;</span>
</span>
</div>
</div>
</template>
......
......@@ -98,6 +98,20 @@
<h3>Links</h3>
</div>
</div>
<hr/>
<div class="row" style="color: darkgrey; font-size: 8pt; margin-top: 15pt;">
<span>Root: {{context.root}}</span>
<span style="margin-left: 10pt;">
Selected language:
<span v-if="context.options[context.root].language != null">{{context.options[context.root].language.name}}</span>
<span v-else>=&gt;</span>
</span>
<span style="margin-left: 10pt;">
Browser language:
<span v-if="context.browserLanguage != null">{{context.browserLanguage.name}}</span>
<span v-else>=&gt;</span>
</span>
</div>
</div>
</div>
</template>
......
Markdown is supported
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