Skip to content

Commit a887a1e

Browse files
authored
Patch bugfix (#13)
* Doc fix * Show location list better
1 parent 24acf00 commit a887a1e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Resources/public/css/webui.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ pre a {
6666
word-break: break-all;
6767
}
6868

69+
.location-list {
70+
margin: 0;
71+
padding: 0;
72+
list-style: none;
73+
}
74+
6975

7076
/* Ajax results */
7177
.ajax-result {

Resources/views/WebUI/show.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474

7575
{% if message.sourceLocations|length > 0 %}
7676
<hr />
77-
<ul>
77+
<ul class="location-list">
7878
{% for location in message.sourceLocations %}
79-
<li><a href="{{ location['full_path']|file_link(location['line']) }}">{{ location['path'] }}</a></li>
79+
<li><a href="{{ location['full_path']|file_link(location['line']) }}">{{ location['path'] }} at line {{ location['line'] }} </a></li>
8080
{% endfor %}
8181
</ul>
8282
{% endif %}

0 commit comments

Comments
 (0)