diff --git a/module/settings/system-compendiums.js b/module/settings/system-compendiums.js
index be1af7d1..b3148fc5 100644
--- a/module/settings/system-compendiums.js
+++ b/module/settings/system-compendiums.js
@@ -87,6 +87,11 @@ export class SystemCompendiums extends FormApplication {
return items;
}
+ static async loadDocument(document) {
+ const pack = game.packs.get(document.pack);
+ return await pack.getDocument(document.id ?? document._id);
+ }
+
static async getItems(compendium, itemType = undefined) {
const items = await SystemCompendiums.getPackContent(compendium, 'Item');
return (itemType ? items.filter(it => it.type == itemType) : items);
diff --git a/styles/simple.css b/styles/simple.css
index 234f1d7e..b7efbd0b 100644
--- a/styles/simple.css
+++ b/styles/simple.css
@@ -848,7 +848,21 @@ section.sheet-body:after {
display: block;
clear: both;
}
-
+a.rdd-world-content-link i {
+ color: var(--color-text-dark-inactive);
+ margin-right: 0.25em;
+}
+a.rdd-world-content-link {
+ background: hsla(280, 50%, 50%, 0.1);
+ padding: 1px 4px;
+ border: 1px solid var(--color-border-dark-tertiary);
+ border-radius: 2px;
+ white-space: nowrap;
+ word-break: break-all;
+}
+a.content-link {
+ background: hsla(45, 100%, 80%, 0.2);
+}
li label.compteur {
display: inline-block;
diff --git a/templates/common/compendium-link.hbs b/templates/common/compendium-link.hbs
index 3efebb63..5b4a1af9 100644
--- a/templates/common/compendium-link.hbs
+++ b/templates/common/compendium-link.hbs
@@ -1 +1,6 @@
-{{name}}
\ No newline at end of file
+{{#if pack}}
+{{!-- draggable="true" --}}
+{{name}}
+{{else}}
+{{name}}
+{{/if}}