Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
p2p.faircoin.co
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FairCoin.Co
p2p.faircoin.co
Commits
87282bce
Commit
87282bce
authored
3 years ago
by
TonyFord
Browse files
Options
Downloads
Patches
Plain Diff
update yml form
parent
4e9cee20
No related branches found
No related tags found
No related merge requests found
Pipeline
#34891
passed
3 years ago
Stage: start
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
services/jekyll/_data/form.yml
+10
-8
10 additions, 8 deletions
services/jekyll/_data/form.yml
services/jekyll/assets/js/script.js
+1
-1
1 addition, 1 deletion
services/jekyll/assets/js/script.js
with
11 additions
and
9 deletions
services/jekyll/_data/form.yml
+
10
−
8
View file @
87282bce
...
...
@@ -88,19 +88,18 @@ fields:
import-regex
:
float
price-reference
:
type
:
selection
-price
type
:
selection
translation
:
de
:
'
Preisreferenz'
en
:
'
pricereference'
help
:
de
:
'
Bitte
eine
Datenquelle
auswählen
oder
einen
Preis
selbst
definieren!'
en
:
'
please
select
a
data
source
or
define
a
fixed
price!'
default
:
FAIR
,FAIRO,fairo
default
:
FAIR
O
import-regex
:
values
values
:
-
FAIR,EUR,faircoinxyz
-
FAIR,EUR,freevision
-
FAIR,FAIRO,fairo
-
FAIR
-
FAIRO
headline
:
type
:
input-text
...
...
@@ -126,7 +125,7 @@ fields:
import-regex
:
'
/^.*$/g'
image
:
type
:
input-text
type
:
selection
maxlength
:
256
translation
:
de
:
'
Bild
in
Originalgröße'
...
...
@@ -134,8 +133,11 @@ fields:
help
:
de
:
'
empfohlene
Größe
1024
x
768
px
|
maximale
Größe
1.5Mpx'
en
:
'
recommend
size
1024
x
768
px
|
maximum
size
1.5Mpx'
default
:
'
'
import-regex
:
'
/^.*$/g'
default
:
0
import-regex
:
values
values
:
-
0
-
1
description
:
type
:
textarea
...
...
This diff is collapsed.
Click to expand it.
services/jekyll/assets/js/script.js
+
1
−
1
View file @
87282bce
...
...
@@ -141,7 +141,7 @@ function createYml2(){
var
yml
=
''
;
$
.
each
(
$
(
'
.order-form
'
),
function
(
i
,
v
){
if
(
v
.
id
==
'
price-reference
'
||
v
.
id
==
'
tags
'
){
if
(
v
.
id
==
'
price
e
-reference
'
||
v
.
id
==
'
tags
'
){
yml
+=
v
.
id
+
'
: [
'
+
$
(
v
).
val
().
replace
(
/
(?:\r\n
|
\r
|
\n)
/g
,
'
<br>
'
)
+
'
]
\n
'
;
}
else
{
yml
+=
v
.
id
+
'
:
'
+
$
(
v
).
val
().
replace
(
/
(?:\r\n
|
\r
|
\n)
/g
,
'
<br>
'
)
+
'
\n
'
;
...
...
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