mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: record_main: allow allDomain option
This commit is contained in:
1 parent
8965a87910
commit
6385a7355b
7 files changed
+35
-18
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.17.3",
|
||||
"version": "4.17.4",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
{% extends "layout/basic.html" %}
|
||||
{% block content %}
|
||||
{% if filterTid %}
|
||||
{{ set(UiContext, 'socketUrl', "/record-conn?domainId=" + handler.domainId + "&tid=" + filterTid) }}
|
||||
{% else %}
|
||||
{{ set(UiContext, 'socketUrl', "/record-conn?domainId=" + handler.domainId) }}
|
||||
{% endif %}
|
||||
{{ set(
|
||||
UiContext, 'socketUrl',
|
||||
"/record-conn?domainId=" + handler.domainId
|
||||
+ (("&tid=" + filterTid) if filterTid else "")
|
||||
+ (("&uidOrName=" + filterUidOrName) if filterUidOrName else "")
|
||||
+ (("&pid=" + filterPid) if filterPid else "")
|
||||
+ ("&allDomain=1" if all else "")
|
||||
) }}
|
||||
{{ set(UiContext, 'rids', rdocs.map(eval("rdoc=>rdoc._id.toString()"))) }}
|
||||
<div class="row">
|
||||
<div class="medium-12 columns">
|
||||
|
||||
Reference in new issue
Block a user