Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mutalyzer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
mutalyzer
Commits
999608e0
Commit
999608e0
authored
9 years ago
by
Jeroen F.J. Laros
Browse files
Options
Downloads
Patches
Plain Diff
Made e-mail address optional in batch checker website interface.
parent
03cb9bb3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mutalyzer/website/templates/batch-jobs.html
+4
-3
4 additions, 3 deletions
mutalyzer/website/templates/batch-jobs.html
mutalyzer/website/views.py
+1
-1
1 addition, 1 deletion
mutalyzer/website/views.py
with
5 additions
and
4 deletions
mutalyzer/website/templates/batch-jobs.html
+
4
−
3
View file @
999608e0
...
...
@@ -37,10 +37,11 @@
</div>
<div
class=
"form-group"
>
<label
for=
"email"
>
Email address
</label>
<input
name=
"email"
id=
"email"
type=
"email"
class=
"form-control with-mailcheck"
<label
for=
"email"
>
Email address (optional)
</label>
<input
name=
"email"
id=
"email"
type=
"email"
class=
"form-control with-mailcheck"
placeholder=
"Email address (notification will be sent here)"
required
value=
"{{ email }}"
>
value=
"{{ email }}"
>
</div>
<div
class=
"form-group"
>
...
...
This diff is collapsed.
Click to expand it.
mutalyzer/website/views.py
+
1
−
1
View file @
999608e0
...
...
@@ -907,7 +907,7 @@ def batch_jobs_submit():
errors
=
[]
if
not
email
:
e
rrors
.
append
(
'
Please provide an email address.
'
)
e
mail
=
'
{}@webservice
'
.
format
(
request
.
remote_addr
)
if
job_type
not
in
BATCH_JOB_TYPES
:
errors
.
append
(
'
Invalid batch job type.
'
)
...
...
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