Skip to content

Commit

Permalink
Fix up the dashboard modal:
Browse files Browse the repository at this point in the history
* Fix attribute to show full stacktrace
* Increase width of modal for easier reading of stacktrace
  • Loading branch information
mwarkentin committed Dec 12, 2015
1 parent 64bf708 commit 10ab5ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions watchman/templates/watchman/dashboard.html
Expand Up @@ -64,15 +64,15 @@ <h3 class="{% if overall_status %}text-success{% else %}text-danger{% endif %}">
{% for status in type.statuses %}
{% if not status.ok %}
<div class="modal fade" id="{{ type.type }}{% if status.name %}-{{ status.name }}{% endif %}" tabindex="-1" role="dialog" aria-labelledby="{{ type.type }}{% if status.name %}-{{ status.name }}{% endif %}-title">
<div class="modal-dialog" role="document">
<div class="modal-dialog" role="document" style="width: 65%">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="{{ type.type }}{% if status.name %}-{{ status.name }}{% endif %}-title">{{ type.type|title }}{% if status.name %} - {{ status.name|title }}{% endif %}</h4>
</div><!-- class="modal-header" -->
<div class="modal-body">
<h4><pre>{{ status.error }}</pre></h4>
<pre>{{ status.traceback }}</pre>
<pre>{{ status.stacktrace }}</pre>
</div><!-- class="model-body" -->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
Expand Down

0 comments on commit 10ab5ea

Please sign in to comment.