diff --git a/dojo_plugin/pages/dojos.py b/dojo_plugin/pages/dojos.py index 5ffec5ce1..1047e6f9e 100644 --- a/dojo_plugin/pages/dojos.py +++ b/dojo_plugin/pages/dojos.py @@ -36,6 +36,7 @@ def listing(): "Advanced": [], "Topics": [], "Courses": [], + "Archive":[], "More Material": [], } for dojo in Dojos.viewable(user=user): @@ -49,6 +50,8 @@ def listing(): typed_dojos["Advanced"].append(dojo) elif dojo.type == "topic": typed_dojos["Topics"].append(dojo) + elif dojo.type == "archive": + typed_dojos["Archive"].append(dojo) elif dojo.type == "course": typed_dojos["Courses"].append(dojo) elif dojo.type == "hidden": diff --git a/dojo_theme/static/img/dojo/Coal_Badge.svg b/dojo_theme/static/img/dojo/Coal_Badge.svg new file mode 100644 index 000000000..8f0f52f4b --- /dev/null +++ b/dojo_theme/static/img/dojo/Coal_Badge.svg @@ -0,0 +1,8443 @@ + + + diff --git a/dojo_theme/static/img/dojo/Forest_Badge.svg b/dojo_theme/static/img/dojo/Forest_Badge.svg new file mode 100644 index 000000000..cf3daaf67 --- /dev/null +++ b/dojo_theme/static/img/dojo/Forest_Badge.svg @@ -0,0 +1,7846 @@ + + + diff --git a/dojo_theme/templates/dojo.html b/dojo_theme/templates/dojo.html index b03c72595..b46305f78 100644 --- a/dojo_theme/templates/dojo.html +++ b/dojo_theme/templates/dojo.html @@ -100,6 +100,6 @@
神奇宝贝联盟大会
- + {% elif type == "Archive" %} +历史课程
{% endif %}