Changed how Resources work to reflect new style

This commit is contained in:
2026-10-16 20:25:31 -04:00
parent 37aafdd913
commit 01d004566c
11 changed files with 139 additions and 287 deletions
@@ -0,0 +1,23 @@
<%*
let title = await tp.system.prompt("Title");
let supplier = await tp.system.prompt("Supplier");
let locall = await tp.system.prompt("Local Link");
let remotel = await tp.system.prompt("Remote Link");
-%>
---
Type: Resource
Resource Type: Hardware
Project: <% tp.file.folder(true).split('/')[1] %>
Task: <% tp.file.folder(false) %>
Publisher: <% supplier %>
Title: <% title %>
Local File Link: <% locall %>
Remote File Link: <% remotel %>
Description:
Status:
Classification:
Reviewed:
Date Created: <% tp.date.now("DD-MM_MMM-YYYY") %>
---
<%* await tp.file.rename("Resource⸬Hardware-" + tp.date.now("DDMMYYYYHHMMSS")) %>
# <% num %> - <% title %>