mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-02 17:13:33 +01:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
c91e662034
47 files changed
+4699
-375
No files matched your search
@@ -128,7 +128,8 @@ function installFormatters(state) {
|
||||
state.errStatusClass = status => Number(status) >= 500 ? "is-error" : Number(status) >= 400 ? "is-warn" : "is-neutral";
|
||||
state.errIssueHref = (id, extra = "") => `/admin/errors?issue=${encodeURIComponent(id)}${extra}`;
|
||||
state.errRepoHref = id => `/admin/repositories?search=${encodeURIComponent(id)}`;
|
||||
state.errUserHref = id => `/admin/users/${encodeURIComponent(id)}`;
|
||||
// Log records carry the internal _id; the admin user page takes it as "id:<_id>".
|
||||
state.errUserHref = id => `/admin/users/id:${encodeURIComponent(id)}`;
|
||||
state.errTrendMax = trend => Math.max(1, ...(trend || [0]));
|
||||
state.viewerLabel = viewerLabel;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user