Changed how Resources work to reflect new style
This commit is contained in:
@@ -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 %>
|
||||
@@ -0,0 +1,20 @@
|
||||
<%*
|
||||
let title = await tp.system.prompt("Title");
|
||||
let description = await tp.system.prompt("Description");
|
||||
-%>
|
||||
---
|
||||
Type: Resource
|
||||
Resource Type: List
|
||||
Project: <% tp.file.folder(true).split('/')[1] %>
|
||||
Task: <% tp.file.folder(false) %>
|
||||
Title: <% title %>
|
||||
Description: <% description %>
|
||||
Status:
|
||||
Classification:
|
||||
Reviewed: False
|
||||
Date Created: <% tp.date.now("DD-MM_MMM-YYYY") %>
|
||||
---
|
||||
<%* await tp.file.rename("Resource⸬List-" + tp.date.now("DDMMYYYYHHMMSS")) %>
|
||||
|
||||
# <% title %>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<%*
|
||||
let title = await tp.system.prompt("Title");
|
||||
let description = await tp.system.prompt("Description");
|
||||
-%>
|
||||
---
|
||||
Type: Resource
|
||||
Resource Type: List
|
||||
Project: <% tp.file.folder(true).split('/')[1] %>
|
||||
Task: <% tp.file.folder(false) %>
|
||||
Title: <% title %>
|
||||
Description: <% description %>
|
||||
Status:
|
||||
Classification:
|
||||
Reviewed: False
|
||||
Date Created: <% tp.date.now("DD-MM_MMM-YYYY") %>
|
||||
---
|
||||
<%* await tp.file.rename("Resource⸬Note-" + tp.date.now("DDMMYYYYHHMMSS")) %>
|
||||
|
||||
# <% title %>
|
||||
@@ -0,0 +1,34 @@
|
||||
<%*
|
||||
let title = await tp.system.prompt("Report Title");
|
||||
let num = await tp.system.prompt("Report Number");
|
||||
let locall = await tp.system.prompt("Local Link");
|
||||
let remotel = await tp.system.prompt("Remote Link");
|
||||
-%>
|
||||
---
|
||||
Type: Resource
|
||||
Resource Type: Report
|
||||
Project: <% tp.file.folder(true).split('/')[1] %>
|
||||
Task: <% tp.file.folder(false) %>
|
||||
Publisher:
|
||||
Document Number: <% num %>
|
||||
Title: <% title %>
|
||||
Author:
|
||||
Local File Link: <% locall %>
|
||||
Remote File Link: <% remotel %>
|
||||
Description:
|
||||
Status:
|
||||
Classification:
|
||||
Reviewed: False
|
||||
Date Created: <% tp.date.now("DD-MMM-YYYY") %>
|
||||
---
|
||||
<%* await tp.file.rename("Resource⸬Report-" + tp.date.now("DDMMYYYYHHMMSS")) %>
|
||||
# <% num %> - <% title %>
|
||||
|
||||
>[!summary] [[`link here`|<%title%>]]
|
||||
> !['embed here`]
|
||||
|
||||
> [!notes] [[Resource⸬Report-<% tp.date.now("DDMMYYYYHHMMSS") %>-Notes]]
|
||||
> ![[Resource⸬Report-<% tp.date.now("DDMMYYYYHHMMSS") %>-Notes]]
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<%*
|
||||
let title = await tp.system.prompt("Software Title");
|
||||
let num = await tp.system.prompt("Software Publisher");
|
||||
let locall = await tp.system.prompt("Local Link");
|
||||
let remotel = await tp.system.prompt("Remote Link");
|
||||
-%>
|
||||
---
|
||||
Type: Resource
|
||||
Resource Type: Software
|
||||
Project: <% tp.file.folder(true).split('/')[1] %>
|
||||
Task: <% tp.file.folder(false) %>
|
||||
Publisher: <% num %>
|
||||
Title: <% title %>
|
||||
Local File Link: <% locall %>
|
||||
Remote File Link: <% remotel %>
|
||||
Description:
|
||||
Status:
|
||||
EULA: false
|
||||
EULA Link:
|
||||
Classification:
|
||||
Reviewed: False
|
||||
Date Created: <% tp.date.now("DD-MM_MMM-YYYY") %>
|
||||
---
|
||||
<%* await tp.file.rename("Resource⸬Software-" + tp.date.now("DDMMYYYYHHMMSS")) %>
|
||||
# <% num %> - <% title %>
|
||||
Reference in New Issue
Block a user