Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
9d65e863
Commit
9d65e863
authored
Jul 13, 2020
by
schneider210
Browse files
Feature/
#39
substitute counter labels
parent
0c109a9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
9d65e863
...
...
@@ -5,13 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on
[
Keep a Changelog
](
https://keepachangelog.com/en/1.0.0/
)
,
and this project adheres to
[
Semantic Versioning
](
https://semver.org/spec/v2.0.0.html
)
.
## [0.0.
19
] - 2020-07-10
## [0.0.
20
] - 2020-07-10
### Changed
-
The page deployment now takes places without having to store any data externally.
We only rely on previous artifacts for new pipelines.
## [0.0.19] - 2020-07-03
### Added
-
replace basic page / sheet counter by
*original*
pagelabel delivered by the api.
## [0.0.18] - 2020-07-02
### Fixed
...
...
src/App.vue
View file @
9d65e863
...
...
@@ -118,13 +118,14 @@ export default {
},
getItemUrls
(
sequence
,
label
)
{
const
urls
=
[];
let
ctr
=
0
;
sequence
.
forEach
((
obj
)
=>
{
const
pagelabel
=
this
.
getPageLabel
(
obj
.
id
);
urls
.
push
(
{
label
:
obj
.
id
,
'
label-key
'
:
`
${
this
.
config
.
labels
.
item
}
${
ctr
+=
1
}
`
,
'
label-key
'
:
`
${
this
.
config
.
labels
.
item
}
${
pagelabel
}
`
,
handler
:
(
node
)
=>
{
if
(
this
.
itemurl
===
node
.
label
)
{
return
;
...
...
@@ -178,6 +179,9 @@ export default {
}
});
},
getPageLabel
(
itemurl
)
{
return
itemurl
.
replace
(
/.*-
(
.*
)\/
latest.*$/
,
'
$1
'
);
},
getSequenceIndex
(
label
)
{
let
index
=
0
;
this
.
manifests
.
forEach
((
manifest
,
idx
)
=>
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment