Update item for description

This commit is contained in:
Mandar
2020-12-24 17:48:06 +01:00
parent 0f1afcf740
commit 919657e1bc
15 changed files with 65 additions and 54 deletions

View File

@@ -12,5 +12,5 @@
<li>{{{ property.name }}}</li>
{{/each}}
</ul>
<div class="item-description">{{{ item.data.description }}}</div>
<p class="item-description">{{{ item.data.description }}}</p>
</li>

View File

@@ -1,11 +1,11 @@
<li class="item peculiarity flexcol">
<<li class="item peculiarity flexcol">
<ul class="item-header peculiarity-controls">
<li class="item-img"><img src="{{peculiarity.img}}" title="{{peculiarity.name}}" width="32px" height="32px"/></li>
<li class="item-name">{{ peculiarity.name }}</li>
{{#if editable}}
<li data-item-id="{{peculiarity._id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
<li data-item-id="{{peculiarity._id}}" class="item-control item-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
<li data-item-id="{{peculiarity._id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
<li data-item-id="{{peculiarity._id}}" class="item-control item-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
{{/if}}
</ul>
<div class="item-description">{{{ peculiarity.data.description }}}</div>
<p class="item-description">{{{ peculiarity.data.description }}}</p>
</li>

View File

@@ -1,9 +1,9 @@
<li class="property flexcol" data-property-id="{{item._id}}">
<ul class="property-header property-control">
<li class="property-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
<li class="property-name">{{ item.name }}</li>
<li class="item property flexcol" data-property-id="{{item._id}}">
<ul class="item-header property-control">
<li class="item-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
<li class="item-name">{{ item.name }}</li>
{{#if editable}}
<li class="property-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
<li class="property-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
{{/if}}
</ul>
<div class="item-description">{{{ item.data.description }}}</div>