feat: supply subject-first topic event text for themes

This commit is contained in:
Julian Lam
2022-11-30 14:40:35 -05:00
parent 0dfd22c12b
commit 2fec6b007a
2 changed files with 18 additions and 0 deletions

View File

@@ -26,26 +26,32 @@ Events._types = {
pin: {
icon: 'fa-thumb-tack',
text: '[[topic:pinned-by]]',
'x-text': '[[topic:x-pinned]]',
},
unpin: {
icon: 'fa-thumb-tack fa-rotate-90',
text: '[[topic:unpinned-by]]',
'x-text': '[[topic:x-unpinned]]',
},
lock: {
icon: 'fa-lock',
text: '[[topic:locked-by]]',
'x-text': '[[topic:x-locked]]',
},
unlock: {
icon: 'fa-unlock',
text: '[[topic:unlocked-by]]',
'x-text': '[[topic:x-unlocked]]',
},
delete: {
icon: 'fa-trash',
text: '[[topic:deleted-by]]',
'x-text': '[[topic:x-deleted]]',
},
restore: {
icon: 'fa-trash-o',
text: '[[topic:restored-by]]',
'x-text': '[[topic:x-restored]]',
},
move: {
icon: 'fa-arrow-circle-right',
@@ -59,10 +65,12 @@ Events._types = {
backlink: {
icon: 'fa-link',
text: '[[topic:backlink]]',
'x-text': '[[topic:x-backlink]]',
},
fork: {
icon: 'fa-code-fork',
text: '[[topic:forked-by]]',
'x-text': '[[topic:x-forked]]',
},
};