Added feedback id number to feedback view

This commit is contained in:
Tom Bloor 2017-10-23 15:08:51 +01:00
parent 6c798d8d3f
commit 3d31e94367
2 changed files with 11 additions and 6 deletions

View file

@ -16,6 +16,7 @@
<div class="col col-md-4 mb-3">
<div class="card">
<div class="card-header">
<span class="font-bold"><%= $feedback->id %></span>
%= $feedback->user->email;
</div>
<div class="card-body">

View file

@ -18,11 +18,15 @@
User Info
</h4>
<ul class="list-group list-group-flush">
<li class="list-group-item justify-content-between">
<li class="list-group-item d-flex justify-content-between">
<span>Feedback ID:</span>
<span><%= $feedback->id %></span>
</li>
<li class="list-group-item d-flex justify-content-between">
<span>Email Address:</span>
<span><%= $feedback->user->email %></span>
</li>
<li class="list-group-item justify-content-between">
<li class="list-group-item d-flex justify-content-between">
<span>Submitted At:</span>
<span><%= format_human_datetime $feedback->submitted_at %></span>
</li>
@ -47,19 +51,19 @@
Debug Info
</h4>
<ul class="list-group list-group-flush">
<li class="list-group-item justify-content-between">
<li class="list-group-item d-flex justify-content-between">
<span>App Name:</span>
<span><%= $feedback->app_name %></span>
</li>
<li class="list-group-item justify-content-between">
<li class="list-group-item d-flex justify-content-between">
<span>Package Name:</span>
<span><%= $feedback->package_name %></span>
</li>
<li class="list-group-item justify-content-between">
<li class="list-group-item d-flex justify-content-between">
<span>Version Code:</span>
<span><%= $feedback->version_code %></span>
</li>
<li class="list-group-item justify-content-between">
<li class="list-group-item d-flex justify-content-between">
<span>Version Number:</span>
<span><%= $feedback->version_number %></span>
</li>