diff options
author | FChannel <=> | 2021-02-03 23:50:10 -0800 |
---|---|---|
committer | FChannel <=> | 2021-02-03 23:50:10 -0800 |
commit | f6eecc720abaefb954fda9a26aab78bb1d706ba4 (patch) | |
tree | 6dcf0b4025943309f0d5bc63d71e358f2653d787 /static/manage.html | |
parent | 3e42ce191ed9a72ed8aa69ee7819a20bb4d23048 (diff) |
sorted board list
Diffstat (limited to 'static/manage.html')
-rw-r--r-- | static/manage.html | 8 |
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 }} |