mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: show error name
This commit is contained in:
3 files changed
+2
-5
No files matched your search
@@ -8,7 +8,7 @@
|
||||
<h1>{{ _('Oops!') }}</h1>
|
||||
<p>{{ _(error.message).formatFromArray(error.params) }}</p>
|
||||
<p>{{ _('Technical Information') }}:</p>
|
||||
<p>{{ _('Type') }}: {{ error.code }}</p>
|
||||
<p>{{ _('Type') }}: {{ error.name }}</p>
|
||||
<p>{{ _('Arguments') }}:
|
||||
<ol>
|
||||
{%- for param in error.params -%}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
{% extends "layout/basic.html" %}
|
||||
{% import "components/contest.html" as contest with context %}
|
||||
{% import "components/problem.html" as problem with context %}
|
||||
{% import "components/user.html" as user with context %}
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
{% for column in contents %}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
packages:
|
||||
- packages/*
|
||||
- plugins/*
|
||||
- modules/*
|
||||
Reference in new issue
Block a user