mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Ability to bulk import or export articles as gzip, handle domain prefix logic in API and other smaller improvements
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
<th>User</th>
|
||||
<th>Resource</th>
|
||||
<th>Operation</th>
|
||||
<th>Date & Time</th>
|
||||
<th>Time</th>
|
||||
<th>Changes</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -140,21 +140,20 @@
|
||||
<button type="submit">Compute diff</button>
|
||||
</form>
|
||||
{#if form?.logId === id && form?.currentDiff}
|
||||
<pre style="white-space: pre-wrap">{@html DOMPurify.sanitize(
|
||||
form.currentDiff,
|
||||
{ ALLOWED_TAGS: ["ins", "del"] }
|
||||
)}</pre>
|
||||
<pre>{@html DOMPurify.sanitize(form.currentDiff, {
|
||||
ALLOWED_TAGS: ["ins", "del"]
|
||||
})}</pre>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{#if new_value && !old_value}
|
||||
<h4>New value</h4>
|
||||
<pre style="white-space: pre-wrap">{DOMPurify.sanitize(newValue)}</pre>
|
||||
<pre>{DOMPurify.sanitize(newValue)}</pre>
|
||||
{/if}
|
||||
|
||||
{#if old_value && !new_value}
|
||||
<h4>Old value</h4>
|
||||
<pre style="white-space: pre-wrap">{DOMPurify.sanitize(oldValue)}</pre>
|
||||
<pre>{DOMPurify.sanitize(oldValue)}</pre>
|
||||
{/if}
|
||||
</Modal>
|
||||
</td>
|
||||
@@ -169,3 +168,9 @@
|
||||
/>
|
||||
</section>
|
||||
</WebsiteEditor>
|
||||
|
||||
<style>
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user