Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
16028665
Commit
16028665
authored
7 years ago
by
Thijs Kinkhorst
Browse files
Options
Downloads
Patches
Plain Diff
Fix error reporting form and add twig template for error report confirmation.
parent
f32e0e47
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/error.twig
+5
-5
5 additions, 5 deletions
templates/error.twig
templates/errorreport.twig
+8
-0
8 additions, 0 deletions
templates/errorreport.twig
with
13 additions
and
5 deletions
templates/error.twig
+
5
−
5
View file @
16028665
...
@@ -39,16 +39,16 @@
...
@@ -39,16 +39,16 @@
<h2>
{{
'{errors:report_header}'
|
trans
}}
</h2>
<h2>
{{
'{errors:report_header}'
|
trans
}}
</h2>
<form
action=
"
{{
errorReportAddress
}}
"
class=
"pure-form"
method=
"post"
>
<form
action=
"
{{
errorReportAddress
}}
"
class=
"pure-form"
method=
"post"
>
<p>
{{
'{errors:report_text}'
|
trans
}}
</p>
<p>
{{
'{errors:report_text}'
|
trans
}}
</p>
<
p
>
{{
'{errors:report_email}'
|
trans
}}
<
label
for=
"email"
>
{{
'{errors:report_email}'
|
trans
}}
</label>
<input
type=
"email"
name=
"email"
class=
"edge"
value=
"
{{
email
}}
"
/>
<input
type=
"email"
name=
"email"
id=
"email"
class=
"edge"
value=
"
{{
email
}}
"
/>
</p>
</p>
<textarea
class=
"text-area edge"
name=
"text"
rows=
"6"
cols=
"50"
>
{{
'{errors:report_explain}'
|
trans
}}
</textarea>
<textarea
class=
"text-area edge"
name=
"text"
rows=
"6"
cols=
"50"
placeholder=
"
{{
'{errors:report_explain}'
|
trans
}}
"
required
></textarea>
</form>
<p
class=
"center"
>
<p
class=
"center"
>
<input
type=
"hidden"
name=
"reportId"
value=
"
{{
error.reportId
}}
"
/>
<input
type=
"hidden"
name=
"reportId"
value=
"
{{
error.reportId
}}
"
/>
<
button
type=
"submit"
name=
"send"
class=
"pure-button pure-button-red"
>
{{
'{errors:report_submit}'
|
trans
}}
</button
>
<
input
type=
"submit"
name=
"send"
class=
"pure-button pure-button-red"
value=
"
{{
'{errors:report_submit}'
|
trans
}}
"
/
>
</p>
</p>
</form>
{%
-
endif
%}
{%
-
endif
%}
<h2>
{{
'{errors:howto_header}'
|
trans
}}
</h2>
<h2>
{{
'{errors:howto_header}'
|
trans
}}
</h2>
...
...
This diff is collapsed.
Click to expand it.
templates/errorreport.twig
0 → 100644
+
8
−
0
View file @
16028665
{%
set
pagetitle
=
'Error report sent'
|
trans
%}
{%
extends
"base.twig"
%}
{%
block
content
%}
<h2>
{{
pagetitle
}}
</h2>
<p>
{{
'The error report has been sent to the administrators.'
|
trans
}}
</p>
{%
endblock
%}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment