This commit is contained in:
2025-07-07 22:40:18 +02:00
parent 4a97dad74f
commit cff56f0bfd
3 changed files with 24 additions and 7 deletions

View File

@ -17,7 +17,7 @@ class TextileExtension extends AbstractExtension
public function textileToHtml(string $text): string
{
$text = $this->fixTextileTable($text);
// $text = $this->fixTextileTable($text);
$parser = new Parser();
return $parser->parse($text);

View File

@ -26,6 +26,7 @@
{% else %}
<strong>Sprint :</strong> Aucun (Position {{ issue.redmine.sprint.position }})<br>
{% endif %}
<strong>Version Cible :</strong> {{(issue.redmine.fixed_version is defined?issue.redmine.fixed_version.name:'Aucune')}}<br>
<strong>Story Point :</strong> {{issue.redmine.sprint.story_points}}<br>
</div>
@ -43,7 +44,7 @@
<div class="mb-3">
<hr>
<strong>Description :</strong>
<p>{{ issue.redmine.description|textile_to_html|markdown_to_html }}</p>
<p>{{ issue.redmine.description|textile_to_html|raw }}</p>
</div>
{% endif %}
@ -69,9 +70,6 @@
</ul>
</div>
{% endif %}
{{dump(issue.project.redmine)}}
{{dump(issue.redmine)}}
</div>
<br><br>
</div>

View File

@ -52,7 +52,7 @@
padding: 15px 10px 0px 10px;
}
h2 {
.statusCard h2 {
font-size:18px;
text-align: center;
}
@ -110,6 +110,25 @@
zoom: 70%;
flex-grow: 1;
}
.issueContainer table {
width:100%;
}
table {
width: 100%;
border-collapse: collapse;
font-family: sans-serif;
font-size: 14px;
}
th, td {
padding: 8px 12px;
border: 1px solid #ddd;
text-align: left;
}
</style>
{% endblock %}