-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Properly look up tag image value * Correct asset access for ose-dev * Add type to user guide button * Show a dash if a treasure table yields no results * Feedback when treasure table yields no results
- Loading branch information
1 parent
d39ab0b
commit 0cb9e02
Showing
8 changed files
with
87 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
<div class="ose chat-card treasure-card"> | ||
<header class="card-header flexrow"> | ||
<img src="systems/ose/assets/treasure.png" title="{{table.name}}" width="36" height="36" /> | ||
<h3>{{table.name}}</h3> | ||
</header> | ||
<div class="card-content"> | ||
<ol class="treasure-list"> | ||
{{#each treasure as |t|}} | ||
<li class="treasure flexrow"> | ||
{{#if t.img}}<img src="{{t.img}}" width="36" height="36" />{{/if}} | ||
<div> | ||
<div>{{{t.text}}}</div> | ||
<ol> | ||
{{#each t.treasure}} | ||
<li class="sub flexrow"> | ||
{{#if img}}<img src="{{img}}" width="28" height="28" />{{/if}} | ||
<div>{{{text}}}</div> | ||
</li> | ||
{{/each}} | ||
</ol> | ||
</div> | ||
</li> | ||
{{/each}} | ||
</ol> | ||
</div> | ||
<div class="ose chat-card treasure-card"> | ||
<header class="card-header flexrow"> | ||
<img src="{{asset '/treasure.png'}}" title="{{table.name}}" width="36" height="36" /> | ||
<h3>{{table.name}}</h3> | ||
</header> | ||
<div class="card-content"> | ||
<ol class="treasure-list"> | ||
{{#each treasure as |t|}} | ||
<li class="treasure flexrow"> | ||
{{#if t.img}}<img src="{{t.img}}" width="36" height="36" />{{/if}} | ||
<div> | ||
<div>{{{t.text}}}</div> | ||
<ol> | ||
{{#each t.treasure}} | ||
<li class="sub flexrow"> | ||
{{#if img}}<img src="{{img}}" width="28" height="28" />{{/if}} | ||
<div>{{{text}}}</div> | ||
</li> | ||
{{/each}} | ||
</ol> | ||
</div> | ||
</li> | ||
{{else}} | ||
<li>{{localize "OSE.table.treasure.noItems"}}</li> | ||
{{/each}} | ||
</ol> | ||
</div> | ||
</div> |