mirror of
https://github.com/TangentFoxy/memex.git
synced 2024-11-22 04:54:23 +00:00
Add support for multiple authors.
This commit is contained in:
parent
e279c02aae
commit
9c1f5b4733
14
README.md
14
README.md
@ -55,18 +55,18 @@ Stored in a human-readable, flat-file database called [Indental](https://wiki.xx
|
|||||||
- SHOWUPPER = toggle display of upper entry elements
|
- SHOWUPPER = toggle display of upper entry elements
|
||||||
- SHOWTITLE = toggle display of entry title
|
- SHOWTITLE = toggle display of entry title
|
||||||
- SHOWAUTH = toggle display of entry author
|
- SHOWAUTH = toggle display of entry author
|
||||||
- SHOWTYPE = toggle display of entry type
|
- SHOWTYPE = toggle display of entry type(s)
|
||||||
- SHOWLINK = toggle display of entry link
|
- SHOWLINK = toggle display of entry link(s)
|
||||||
- SHOWLOWER = toggle display of lower entry elements
|
- SHOWLOWER = toggle display of lower entry elements
|
||||||
- SHOWTAGS = toggle display of entry tags
|
- SHOWTAGS = toggle display of entry tag(s)
|
||||||
- SHOWPROJ = toggle display of entry project
|
- SHOWPROJ = toggle display of entry project(s)
|
||||||
- SHOWNOTE = toggle display of entry notes
|
- SHOWNOTE = toggle display of entry notes
|
||||||
- SHOWQOTE = toggle display of entry quotes
|
- SHOWQOTE = toggle display of entry quote(s)
|
||||||
- SHOWTERM = toggle display of entry terms
|
- SHOWTERM = toggle display of entry term(s)
|
||||||
- SHOWDONE = toggle display of menu done (tick/cross)
|
- SHOWDONE = toggle display of menu done (tick/cross)
|
||||||
- SHOWPROG = toggle display of entry progress notes
|
- SHOWPROG = toggle display of entry progress notes
|
||||||
- SHOWIMAG = toggle display of entry image
|
- SHOWIMAG = toggle display of entry image
|
||||||
- SHOWFILE = toggle display of entry file
|
- SHOWFILE = toggle display of entry file(s)
|
||||||
- SHOWOVERLAY = toggle display of dark overlay on hover of image type entry
|
- SHOWOVERLAY = toggle display of dark overlay on hover of image type entry
|
||||||
|
|
||||||
### Web Development
|
### Web Development
|
||||||
|
@ -181,7 +181,10 @@ function View()
|
|||||||
// AUTHOR
|
// AUTHOR
|
||||||
if (SETTINGS.SHOWAUTH && this.isDefined(value.AUTH))
|
if (SETTINGS.SHOWAUTH && this.isDefined(value.AUTH))
|
||||||
{
|
{
|
||||||
entry += `<div class="griditem-auth"><i class="fas fa-user textIcon"></i>${value.AUTH}</div>`;
|
for (var i = 0; i < value.AUTH.length; i++)
|
||||||
|
{
|
||||||
|
entry += `<div class="griditem-auth"><i class="fas fa-user textIcon"></i>${value.AUTH[i].to_properCase()}</div>`;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TAGS
|
// TAGS
|
||||||
|
@ -16,6 +16,7 @@ function Wrap()
|
|||||||
{
|
{
|
||||||
let value = this.database[this.keys[i]];
|
let value = this.database[this.keys[i]];
|
||||||
|
|
||||||
|
this.database[this.keys[i]].AUTH = this.commaSplit(value.AUTH);
|
||||||
this.database[this.keys[i]].TAGS = this.commaSplit(value.TAGS);
|
this.database[this.keys[i]].TAGS = this.commaSplit(value.TAGS);
|
||||||
this.database[this.keys[i]].TYPE = this.commaSplit(value.TYPE);
|
this.database[this.keys[i]].TYPE = this.commaSplit(value.TYPE);
|
||||||
this.database[this.keys[i]].PROJ = this.commaSplit(value.PROJ);
|
this.database[this.keys[i]].PROJ = this.commaSplit(value.PROJ);
|
||||||
|
Loading…
Reference in New Issue
Block a user