Skip to content

Commit

Permalink
Merge pull request #37 from crash1115/dev
Browse files Browse the repository at this point in the history
Version 0.4.8
  • Loading branch information
crash1115 authored Nov 9, 2020
2 parents 7591482 + a1721c3 commit 46f295d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## Version 0.4.8
- Compatibility with Foundry 0.7.6 and dnd5e 1.1.0

## Version 0.4.7
- Added the `CrashTrainingTabReady` hook, which fires when the downtime tab is ready. Example usage:
```js
Expand Down
8 changes: 4 additions & 4 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "5e-training",
"title": "Crash's 5e Downtime Tracking",
"description": "Adds a section to the character sheet to keep track of downtime activity progression. Track proficiency training, spell scribing, and anything else you can think of.",
"version": "0.4.7",
"version": "0.4.8",
"author": "CRASH1115#2944",
"minimumCoreVersion": "0.6.6",
"compatibleCoreVersion": "0.7.3",
"minimumCoreVersion": "0.7.6",
"compatibleCoreVersion": "0.7.6",
"systems": ["dnd5e"],
"esmodules": ["training.js"],
"styles": ["styles/training.css"],
Expand All @@ -28,5 +28,5 @@
],
"url": "https://github.com/crash1115/5e-training",
"manifest": "https://raw.githubusercontent.com/crash1115/5e-training/master/module.json",
"download": "https://github.com/crash1115/5e-training/releases/download/v0.4.7/5e-training.zip"
"download": "https://github.com/crash1115/5e-training/releases/download/v0.4.8/5e-training.zip"
}
14 changes: 7 additions & 7 deletions templates/training-section.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="tab crash-training flexrow" data-group="primary" data-tab="training">
<ol class="inventory-list">
<li class="inventory-header flexrow">
<ol class="items-list">
<li class="items-header flexrow">
<h3 class="item-name flexrow">{{ localize 'C5ETRAINING.ActivityProgress' }}</h3>
<div class="item-controls">
<div class="item-controls flexrow">
<a class="item-control item-create crash-training-audit" title="{{ localize 'C5ETRAINING.ReviewChanges' }}">
<i class="fas fa-clipboard"></i> {{ localize 'C5ETRAINING.AuditLog' }}
</a>
Expand All @@ -11,12 +11,12 @@ <h3 class="item-name flexrow">{{ localize 'C5ETRAINING.ActivityProgress' }}</h3>
</a>
</div>
</li>
<ol class="item-list">
<ol class="item-list inventory-list">
{{#each actor.flags.5e-training.trainingItems as |training tid| }}
<li class="item flexrow">
<div class="item-name flexrow">
<div class="item-image rollable crash-training-roll" id="crash-roll-{{tid}}" title="{{ localize 'C5ETRAINING.AdvanceActivityProgress' }}" style="background-image: url(icons/svg/d20.svg);"></div>
<h4 class="rollable crash-training-toggle-desc" id="crash-toggle-desc-{{tid}}" title="{{ localize 'C5ETRAINING.ToggleInfo' }}">{{training.name}}</h4>
<div class="item-name flexrow rollable">
<div class="item-image crash-training-roll" id="crash-roll-{{tid}}" title="{{ localize 'C5ETRAINING.AdvanceActivityProgress' }}" style="background-image: url(icons/svg/d20.svg);"></div>
<h4 class="crash-training-toggle-desc" id="crash-toggle-desc-{{tid}}" title="{{ localize 'C5ETRAINING.ToggleInfo' }}">{{training.name}}</h4>
</div>
<div class="item-detail type">
{{progressionStyle training ../actor}}
Expand Down

0 comments on commit 46f295d

Please sign in to comment.