aboutsummaryrefslogtreecommitdiff
path: root/static/manage.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/manage.html')
-rw-r--r--static/manage.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/static/manage.html b/static/manage.html
index 3a86f7a..06288cd 100644
--- a/static/manage.html
+++ b/static/manage.html
@@ -16,7 +16,7 @@
</ul>
</div>
<a href="/{{ .Board.Name }}">[Return]</a>
-{{ $actor := .Actor }}
+{{ $actor := .Actor.Id }}
{{ $board := .Board }}
{{ $key := .Key }}
{{ if .IsLocal }}
@@ -26,7 +26,7 @@
<label>Subscribe:</label><br>
<input id="follow" name="follow" style="margin-bottom: 12px;" placeholder="https://localhost:3000/g"></input>
<input type="submit" value="Subscribe"><br>
- <input type="hidden" name="actor" value="{{ .Actor }}">
+ <input type="hidden" name="actor" value="{{ .Actor.Id }}">
</form>
<ul style="display: inline-block; padding: 0; margin: 0;">
@@ -81,8 +81,8 @@
reportedArray.forEach(function(r, i){
var id = r.getAttribute("post")
- r.innerText = "/" + {{ .Board.Name }} + "/" + shortURL("{{ .Actor }}", id)
- r.href = {{ .Domain }} + "/" + {{ .Board.Name }} + "/" + shortURL("{{ .Actor }}", id)
+ r.innerText = "/" + {{ .Board.Name }} + "/" + shortURL("{{ .Actor.Id }}", id)
+ r.href = {{ .Domain }} + "/" + {{ .Board.Name }} + "/" + shortURL("{{ .Actor.Id }}", id)
})
</script>
{{ end }}