stash
This commit is contained in:
parent
6f2196f78b
commit
1c090458de
1 changed files with 3 additions and 3 deletions
|
@ -1,16 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
<h3 class="text-center">Message Templates</h3>
|
<h3 class="text-center">Message Templates</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="[template, index] in messageTemplates" :key="template.id">
|
<li v-for="template in messageTemplates" :key="template.id">
|
||||||
<b>{{ template.name }}</b><br>
|
<b>{{ template.name }}</b><br>
|
||||||
<FormatedText :value="template.message" :format="formatText" class="template-message"
|
<FormatedText :value="template.message" :format="formatText" class="template-message"
|
||||||
@input="changeMessageTemplate(template.id, $event)"/>
|
@input="changeMessageTemplate(template.id, $event)"/>
|
||||||
<br>
|
<br>
|
||||||
<button class="btn btn-primary"
|
<button class="btn btn-primary"
|
||||||
:disabled="template.message !== messageTemplates[index].message">Reset
|
:disabled="true">Reset
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-success"
|
<button class="btn btn-success"
|
||||||
:disabled="template.message !== messageTemplates[index].message">Save
|
:disabled="true">Save
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue