diff --git a/app/urls.py b/app/urls.py
index 651e13b..d141095 100644
--- a/app/urls.py
+++ b/app/urls.py
@@ -23,6 +23,9 @@ from django.views.generic import TemplateView
from core.api.views.threshold import ThresholdChans, ThresholdOnline, ThresholdUsers
from core.views import About, Billing, Cancel, Order, Portal, Signup
from core.views.callbacks import Callback
+from core.views.manage.threshold.irc import (
+ ThresholdIRCNetworkList, # Actions and just get list output
+)
from core.views.manage.threshold.irc import (
ThresholdIRCActions,
ThresholdIRCActionsAddNetwork,
@@ -30,7 +33,6 @@ from core.views.manage.threshold.irc import (
ThresholdIRCAliasesEdit,
ThresholdIRCNetworkActions,
ThresholdIRCNetworkActionsAuto,
- ThresholdIRCNetworkList, # Actions and just get list output
ThresholdIRCNetworkActionsRelay,
ThresholdIRCNetworkChannels,
ThresholdIRCNetworkDel,
diff --git a/core/lib/manage/threshold.py b/core/lib/manage/threshold.py
index 0f15b91..aadaf16 100644
--- a/core/lib/manage/threshold.py
+++ b/core/lib/manage/threshold.py
@@ -211,9 +211,9 @@ def get_irc_nick(net, num):
nick = threshold_request(url, payload, method="GET")
return nick
+
def get_irc_list_info(net):
url = f"irc/list/{net}"
payload = {}
listinfo = threshold_request(url, payload, method="GET")
- print("LISTINFO", listinfo)
- return listinfo
\ No newline at end of file
+ return listinfo
diff --git a/core/templates/manage/threshold/irc/network/stats.html b/core/templates/manage/threshold/irc/network/stats.html
index c586683..e913854 100644
--- a/core/templates/manage/threshold/irc/network/stats.html
+++ b/core/templates/manage/threshold/irc/network/stats.html
@@ -1,27 +1,27 @@
- {% include 'manage/threshold/partials/notify.html' %}
- {% if list is not None %}
-
-
-
-
- attribute |
- value |
-
-
- {% for key, item in list.items %}
-
- {{ key }} |
-
- {% if item is not None %}
- {{ item }}
- {% endif %}
- |
-
- {% endfor %}
-
-
-
+ {% include 'manage/threshold/partials/notify.html' %}
+ {% if list is not None %}
+
+
+
+
+ attribute |
+ value |
+
+
+ {% for key, item in list.items %}
+
+ {{ key }} |
+
+ {% if item is not None %}
+ {{ item }}
+ {% endif %}
+ |
+
+ {% endfor %}
+
+
- {% endif %}
-
\ No newline at end of file
+
+ {% endif %}
+
\ No newline at end of file