diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-30 22:51:51 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-30 22:51:51 -0700 |
commit | f787a4787cd7aed1b8556874967ce407e255c57e (patch) | |
tree | a58012361f58010938f5bb8337af848ed76a06b3 /system/admin/handlers.go | |
parent | 3f5fefd80ace18f95ec80001cf71af5d2f426c15 (diff) |
identified another bug related to _ specifier in UI code
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index dbeefd2..d6c3baa 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -787,7 +787,7 @@ func adminPostListItem(p editor.Editable, t, status string) []byte { post := ` <li class="col s12"> - <a href="/admin/edit?type=` + t + `&status=` + status + `&id=` + cid + `">` + p.ContentName() + `</a> + <a href="/admin/edit?type=` + t + `&status=` + strings.TrimPrefix(status, "_") + `&id=` + cid + `">` + p.ContentName() + `</a> <span class="post-detail">Updated: ` + updatedTime + `</span> <span class="publish-date right">` + publishTime + `</span> |