rename: chapitre/projet templates to chapter/project
Standardize French template names to English across blueprints, content files, PHP templates, Vue components and Pinia stores. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
99a924010f
commit
ffcb1a9f2e
13 changed files with 64 additions and 60 deletions
|
|
@ -40,10 +40,10 @@
|
|||
<div v-if="item.text" class="chapeau" v-html="item.text"></div>
|
||||
</section>
|
||||
|
||||
<!-- Chapitre -->
|
||||
<!-- Chapter -->
|
||||
<section
|
||||
v-else-if="item.template === 'chapitre'"
|
||||
class="chapitre"
|
||||
v-else-if="item.template === 'chapter'"
|
||||
class="chapter"
|
||||
:data-page-type="item.template"
|
||||
>
|
||||
<h3>{{ item.title }}</h3>
|
||||
|
|
@ -116,7 +116,7 @@ const getBlockComponent = (type) => {
|
|||
/* Base print styles for content sections */
|
||||
.narrative-cover,
|
||||
.geoformat,
|
||||
.chapitre,
|
||||
.chapter,
|
||||
.carte {
|
||||
break-before: page;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,10 +48,10 @@ export const useNarrativeStore = defineStore('narrative', () => {
|
|||
if (child.children && child.children.length > 0) {
|
||||
flattenChildren(child.children, depth + 1);
|
||||
}
|
||||
} else if (child.template === 'chapitre') {
|
||||
} else if (child.template === 'chapter') {
|
||||
items.push({
|
||||
id: child.id,
|
||||
template: 'chapitre',
|
||||
template: 'chapter',
|
||||
title: child.title,
|
||||
blocks: child.blocks,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue