mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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>
|
<h1>{{ _('Oops!') }}</h1>
|
||||||
<p>{{ _(error.message).formatFromArray(error.params) }}</p>
|
<p>{{ _(error.message).formatFromArray(error.params) }}</p>
|
||||||
<p>{{ _('Technical Information') }}:</p>
|
<p>{{ _('Technical Information') }}:</p>
|
||||||
<p>{{ _('Type') }}: {{ error.code }}</p>
|
<p>{{ _('Type') }}: {{ error.name }}</p>
|
||||||
<p>{{ _('Arguments') }}:
|
<p>{{ _('Arguments') }}:
|
||||||
<ol>
|
<ol>
|
||||||
{%- for param in error.params -%}
|
{%- for param in error.params -%}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
{% extends "layout/basic.html" %}
|
{% extends "layout/basic.html" %}
|
||||||
{% import "components/contest.html" as contest with context %}
|
{% import "components/contest.html" as contest with context %}
|
||||||
{% import "components/problem.html" as problem with context %}
|
{% import "components/problem.html" as problem with context %}
|
||||||
|
{% import "components/user.html" as user with context %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% for column in contents %}
|
{% for column in contents %}
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
packages:
|
|
||||||
- packages/*
|
|
||||||
- plugins/*
|
|
||||||
- modules/*
|
|
||||||
Reference in new issue
Block a user