Skip to content

Commit 2ced930

Browse files
committed
web-ui: prap resource data into <pre>
The Data string may contain multiline-strings. Use code formatting per: https://getbootstrap.com/docs/4.0/content/code/
1 parent 87c9784 commit 2ced930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resallocwebui/templates/resources.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1 class="resource--title">Resalloc resources</h1>
3131
<td>{{ resource.ticket_id }}</td>
3232
<td>{{ resource.user }}</td>
3333
<td>{{ resource.sandbox }}</td>
34-
<td>{{ resource.to_dict()["data"] }}</td>
34+
<td><pre><code>{{ resource.to_dict()["data"] }}</code></pre></td>
3535
</tr>
3636
{% endfor %}
3737
</tbody>

0 commit comments

Comments
 (0)