diff --git a/src/Twig/TextileExtension.php b/src/Twig/TextileExtension.php index 8281699..9a79c69 100644 --- a/src/Twig/TextileExtension.php +++ b/src/Twig/TextileExtension.php @@ -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); diff --git a/templates/issue/view.html.twig b/templates/issue/view.html.twig index e7546dd..ff0972d 100644 --- a/templates/issue/view.html.twig +++ b/templates/issue/view.html.twig @@ -26,6 +26,7 @@ {% else %} Sprint : Aucun (Position {{ issue.redmine.sprint.position }})
{% endif %} + Version Cible : {{(issue.redmine.fixed_version is defined?issue.redmine.fixed_version.name:'Aucune')}}
Story Point : {{issue.redmine.sprint.story_points}}
@@ -43,7 +44,7 @@

Description : -

{{ issue.redmine.description|textile_to_html|markdown_to_html }}

+

{{ issue.redmine.description|textile_to_html|raw }}

{% endif %} @@ -69,9 +70,6 @@ {% endif %} - - {{dump(issue.project.redmine)}} - {{dump(issue.redmine)}} - +

diff --git a/templates/project/view.html.twig b/templates/project/view.html.twig index 5ed5d60..0120628 100644 --- a/templates/project/view.html.twig +++ b/templates/project/view.html.twig @@ -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; + } + + {% endblock %}