les transcriptions passent en popin pour éviter de faire des lignes trop énormes
This commit is contained in:
parent
54817d9832
commit
d64970cac6
3 changed files with 13 additions and 5 deletions
|
@ -49,4 +49,7 @@
|
|||
.gamutable th.toto {
|
||||
min-width: 500px;
|
||||
}
|
||||
.gamutable table .btn {
|
||||
background-color: #999;
|
||||
}
|
||||
</style>
|
|
@ -3,7 +3,7 @@
|
|||
<h1 class="txtcenter">#TITLE</h1>
|
||||
<div class="bloc">
|
||||
<h3>Transcription [(#ENV{contenu}|majuscules)] :</h3>
|
||||
<div>[(#ENV{contenu}|=={txt}|?{[(#TRANSCRIPTION_READABLE_CONTENT|replace{"\n",<br>})],#TRANSCRIPTION_DETAILED_CONTENT})]</div>
|
||||
<div>[(#ENV{contenu}|=={txt}|?{[(#TRANSCRIPTION_READABLE_CONTENT|replace{"\n",<br>})],[(#TRANSCRIPTION_DETAILED_CONTENT|replace{',',', '})]})]</div>
|
||||
</div>
|
||||
</BOUCLE_transcription>
|
||||
<div class="bloc">Pas de vidéo avec l'id #ENV{id}</div>
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
},
|
||||
"classes":{
|
||||
"description":"toto",
|
||||
"transcription_readable_content": "toto",
|
||||
"transcription_detailed_content": "toto"
|
||||
"transcription_readable_content": "",
|
||||
"transcription_detailed_content": ""
|
||||
}
|
||||
},
|
||||
<BOUCLE_souscriptions(CORPUS_VIDEOS){id_corpus_video?}{par id_corpus_video}{tout}{','}>
|
||||
|
@ -49,8 +49,13 @@
|
|||
"transcription_readable_file": [(#TRANSCRIPTION_READABLE_FILE|sinon{pas de fichier TXT}|json_encode)],
|
||||
"transcription_detailed_file": [(#TRANSCRIPTION_DETAILED_FILE|sinon{pas de fichier XML}|json_encode)],
|
||||
"transcription_readable_content": [(#VAL{<a class="modalbox btn" href="[(#URL_PAGE{afficher_transcription}|parametre_url{id,#ID_CORPUS_VIDEO}|parametre_url{contenu,txt}|parametre_url{var_zajax,content})]"
|
||||
title="Afficher la transcription">Affichage popin</a><br>}|concat{#TRANSCRIPTION_READABLE_CONTENT|sinon{pas de fichier TXT}}|json_encode)],
|
||||
title="Afficher la transcription TXT">Afficher la transcription</a>}|json_encode)],
|
||||
"transcription_detailed_content": [(#VAL{<a class="modalbox btn" href="[(#URL_PAGE{afficher_transcription}|parametre_url{id,#ID_CORPUS_VIDEO}|parametre_url{contenu,xml}|parametre_url{var_zajax,content})]"
|
||||
title="Afficher la transcription XML">Afficher la transcription</a>}|json_encode)]
|
||||
[(#REM)
|
||||
"transcription_readable_content": [(#TRANSCRIPTION_READABLE_CONTENT|sinon{pas de fichier TXT}|json_encode)],
|
||||
"transcription_detailed_content": [(#TRANSCRIPTION_DETAILED_CONTENT|replace{',',', '}|sinon{pas de fichier XML}|json_encode)]
|
||||
]
|
||||
},
|
||||
"classes": {
|
||||
"titre":"transcription"
|
||||
|
|
Loading…
Add table
Reference in a new issue