html format other components

This commit is contained in:
Matteo Pagliazzi
2019-10-12 17:05:15 +02:00
parent 7b4671fbf9
commit f99e3fab8b
180 changed files with 6536 additions and 2894 deletions

View File

@@ -3,7 +3,8 @@
<challenge-modal
:group-id="groupId"
@createChallenge="challengeCreated"
/><div
/>
<div
v-if="challenges.length === 0"
class="row no-quest-section"
>
@@ -11,24 +12,29 @@
<div
class="svg-icon challenge-icon"
v-html="icons.challengeIcon"
></div><h4 v-once>
></div>
<h4 v-once>
{{ $t('haveNoChallenges') }}
</h4><p v-once>
</h4>
<p v-once>
{{ $t('challengeDetails') }}
</p><button
</p>
<button
class="btn btn-secondary"
@click="createChallenge()"
>
{{ $t('createChallenge') }}
</button>
</div>
</div><template v-else>
</div>
<template v-else>
<challenge-item
v-for="challenge in challenges"
:key="challenge._id"
:challenge="challenge"
:full-layout="false"
/><div class="col-12 text-center">
/>
<div class="col-12 text-center">
<button
class="btn btn-secondary"
@click="createChallenge()"