Add stopgaps for user editing
This commit is contained in:
parent
0872672ff4
commit
8358b3578d
@ -11,6 +11,7 @@ export class HenchCardsSheet extends CardsConfig {
|
||||
/** @override */
|
||||
getData() {
|
||||
const t = super.getData();
|
||||
t.canManage = game.users.current.isGM;
|
||||
return t;
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,10 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hench-strikethrough {
|
||||
text-decoration-line: line-through;
|
||||
}
|
||||
|
||||
.hench-centered {
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@
|
||||
Draw
|
||||
</span>
|
||||
</div>
|
||||
<div class="hench-row hench-padding-narrow hench-white hench-centered hench-clickable hench-cards-action-edit-deck">
|
||||
<div class="hench-row hench-padding-narrow hench-white hench-centered {{#if canManage}}hench-clickable hench-cards-action-edit-deck{{else}}hench-strikethrough{{/if}}">
|
||||
<span class="hench-flex-resizeable">
|
||||
Edit deck
|
||||
</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user