Compare commits

...
3 Commits
3 changed files with 6 additions and 3 deletions
@@ -65,7 +65,7 @@ module.exports = class {
this.state.operation += " chapter" this.state.operation += " chapter"
this.state.links = [{ this.state.links = [{
text: chapter.title, text: chapter.title || `Untitled chapter (${chapterKey.id})`,
href: `/story/${storyKey.id}#${chapterKey.id}`, href: `/story/${storyKey.id}#${chapterKey.id}`,
}] }]
@@ -112,4 +112,7 @@ const opText = {
move: "moved", move: "moved",
edit: "edited", edit: "edited",
import: "imported", import: "imported",
tag: "tagged",
"move-in": "moved in",
"move-out": "moved-out",
} }
@@ -10,7 +10,7 @@
</div> </div>
<label>Current Nicks</label> <label>Current Nicks</label>
<div for(nick in input.character.nicks) class="existing-nick-row" > <div for(nick in input.character.nicks) class="existing-nick-row" key=nick >
<div class="content color-text">${nick}</div> <div class="content color-text">${nick}</div>
<button disabled=state.loading on-click("removeNick", nick)>Remove</button> <button disabled=state.loading on-click("removeNick", nick)>Remove</button>
</div> </div>
+1 -1
View File
@@ -7,7 +7,7 @@ const changesTemplate = require("../../marko/page/data/changes.marko")
router.get("/", async(req, res) => { router.get("/", async(req, res) => {
res.markoAsync(changesTemplate, { res.markoAsync(changesTemplate, {
changes: changesApi.list(), changes: changesApi.list({limit: 2000}),
selected: {changes: true}, selected: {changes: true},
}) })
}) })