File tree Expand file tree Collapse file tree 1 file changed +17
-18
lines changed
app/views/passkit/dashboard/passes Expand file tree Collapse file tree 1 file changed +17
-18
lines changed Original file line number Diff line number Diff line change 2
2
< h1 > Passkit Passes</ h1 >
3
3
<%= render 'shared/passkit/navigation' %>
4
4
</ header >
5
-
6
5
< main >
7
6
< h2 > Last 100 passes and registered devices</ h2 >
8
7
< table >
9
8
< thead >
10
- < th > Created at</ th >
11
- < th > Generator</ th >
12
- < th > Pass Class</ th >
13
- < th > Devices</ th >
9
+ < th > Created at</ th >
10
+ < th > Generator</ th >
11
+ < th > Pass Class</ th >
12
+ < th > Devices</ th >
14
13
</ thead >
15
14
< tbody >
16
- <% @passes . each do |pass | %>
17
- < tr >
18
- < td > <%= I18n . l ( pass . created_at ) %> </ td >
19
- < td > <%= pass . generator . to_s %> </ td >
20
- < td > <%= pass . klass %> </ td >
21
- < td >
22
- <% pass . devices . each do |device | %>
23
- < div >
15
+ <% @passes . each do |pass | %>
16
+ < tr >
17
+ < td > <%= I18n . l ( pass . created_at ) %> </ td >
18
+ < td > <%= pass . generator . class . name %> - <%= pass . generator . id %> </ td >
19
+ < td > <%= pass . klass %> </ td >
20
+ < td >
21
+ <% pass . devices . each do |device | %>
22
+ < div >
24
23
<%= device . push_token %>
25
- </ div >
26
- <% end %>
27
- </ td >
28
- </ tr >
29
- <% end %>
24
+ </ div >
25
+ <% end %>
26
+ </ td >
27
+ </ tr >
28
+ <% end %>
30
29
</ tbody >
31
30
</ table >
32
31
</ main >
You can’t perform that action at this time.
0 commit comments