Buff and condition view dialogs now only have the delete button

This commit is contained in:
Jacob
2017-09-04 20:16:56 +01:00
parent 6dd92586a4
commit 7b62c82e32
2 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<template name="buffDialog">
{{#with buff}}
{{#baseDialog title=name class=colorClass hideColor=true}}
{{#baseDialog title=name class="white" hideColor=true startEditing=true editOnly=true}}
{{> buffDetails}}
{{else}}
{{> buffDetails}}
@@ -12,9 +12,10 @@
<div>
{{appliedBy}}
</div>
<hr style="margin: 16px 0 16px 0;">
{{#if description}}
<hr style="margin: 16px 0 16px 0;">
<div>{{#markdown}}{{evaluateString charId description}}{{/markdown}}</div>
<hr style="margin: 16px 0 16px 0;">
{{/if}}
{{> effectsViewList charId=charId parentId=_id}}
{{> proficiencyViewList charId=charId parentId=_id}}

View File

@@ -15,10 +15,12 @@
{{/unless}}
{{#unless hideColor}}
{{> colorDropdown}}
{{/unless}}
{{#unless editOnly}}
<paper-icon-button id="doneEditingButton"
icon="done">
</paper-icon-button>
{{/unless}}
<paper-icon-button id="doneEditingButton"
icon="done">
</paper-icon-button>
{{else}}
{{#if showEdit}}
<paper-icon-button id="editButton"