File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 22 <%= button_to 'Logout' , session_path ( 1 ) , method : :delete , class : "btn" %>
33</ div >
44
5- < h1 > Pending Puzzles</ h1 >
5+ < h1 > Pending Puzzles - Total: <%= @pending_puzzles . length %> </ h1 >
66<%= render partial : 'puzzles_table' , locals : { puzzles : @pending_puzzles , actions : :pending } %>
77
8- < h1 > Approved Puzzles</ h1 >
8+ < h1 >
9+ Approved Puzzles - Total: <%= @approved_puzzles . length %>
10+ <% if @approved_puzzles . length < 5 %> < span title ="Less than 5 approved puzzles! "> ⚠️</ span > <% end %>
11+ </ h1 >
912<%= render partial : 'puzzles_table' , locals : { puzzles : @approved_puzzles , actions : :approved } %>
1013
1114< h1 > Rejected Puzzles</ h1 >
1215<%= render partial : 'puzzles_table' , locals : { puzzles : @rejected_puzzles , actions : :rejected } %>
1316
14- < h1 > Archive Puzzles</ h1 >
17+ < h1 > Archive Puzzles - Total: <%= @archived_puzzles . length %> </ h1 >
1518< p > These puzzles have already been sent to the users.</ p >
1619<%= render partial : 'puzzles_table' , locals : { puzzles : @archived_puzzles , actions : :archived } %>
You can’t perform that action at this time.
0 commit comments