Skip to content

Commit 92c0338

Browse files
committed
with links
1 parent e746084 commit 92c0338

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

public/css/app.css

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
max-height: 300px;
44
overflow-x: hidden;
55
}
6+
pre {
7+
white-space: pre-wrap;
8+
word-wrap: break-word;
9+
color: #000;
10+
background-color: #f5f5f5;
11+
}
612
/*.cache:active{
713
display:none;
814
}

templates/admin/admin.homepage.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</li>
88
<li class="nav-item">
99
<a class="nav-link js-scroll-trigger" href="{{ path('PhpFunction_index') }}">fonctions PHP</a>
10-
</li>{#
10+
</li>
1111
<li class="nav-item">
1212
<a class="nav-link js-scroll-trigger" href="{{ path('linkphp_index') }}">Liens sources externes</a>
1313
</li>

templates/homepage/index.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<p>{{ item.text|raw }}</p>
2929
<h6>Liens externes</h6>
3030
<ul>{% for link in item.Link %}
31-
<li><a href="{{ link.url }}" title="{{ link.description }}" rel="nofollow" target="_blank">{{ link.title }}</a> - {{ link.description }}</li>
31+
<li><a href="{{ link.url }}" title="{{ link.description }}" rel="nofollow" target="_blank">{{ link.title }}</a> - {{ link.description|raw }}</li>
3232
{% else %}
3333
<li>Pas de liens</li>
3434
{% endfor %}</ul>

0 commit comments

Comments
 (0)