mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-10 17:16:22 +01:00
Moved staticfiles to stock/static
Added STATIC_ROOT to enable collection of staticfiles Ignored static/ directory so changes by end user go untracked Now required python manage.py collectstatic during install procedure
This commit is contained in:
12
stock/static/admin/js/collapse.min.js
vendored
Normal file
12
stock/static/admin/js/collapse.min.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
(function (a) {
|
||||
a(document).ready(function () {
|
||||
a("fieldset.collapse").each(function (c, b) {
|
||||
0 == a(b).find("div.errors").length && a(b).addClass("collapsed").find("h2").first().append(' (<a id="fieldsetcollapser' + c + '" class="collapse-toggle" href="#">' + gettext("Show") + "</a>)")
|
||||
});
|
||||
a("fieldset.collapse a.collapse-toggle").click(function () {
|
||||
a(this).closest("fieldset").hasClass("collapsed") ? a(this).text(gettext("Hide")).closest("fieldset").removeClass("collapsed").trigger("show.fieldset", [a(this).attr("id")]) : a(this).text(gettext("Show")).closest("fieldset").addClass("collapsed").trigger("hide.fieldset",
|
||||
[a(this).attr("id")]);
|
||||
return!1
|
||||
})
|
||||
})
|
||||
})(django.jQuery);
|
||||
Reference in New Issue
Block a user