byu-osl / bookout

A person-to-person library
3 stars 0 forks source link

Borrowing/Lending Books in Dashboard Should Be Limited #10

Closed n8carrier closed 11 years ago

n8carrier commented 11 years ago

"Books I'm Borrowing" and "Books I'm Lending" should be limited to five items. Once five show up, a link should be added, at the end of the table, that links directly to the correct tab in /library:

<td colspan="4" style="text-align:center;"><b>Only the first five results are shown here. <a href="/library#LendedBooks">View all books you are lending</a>.</b></td> <td colspan="4" style="text-align:center;"><b>Only the first five results are shown here. <a href="/library#BorrowedBooks">View all books you are borrowing</a>.</b></td>

bryangwilliam commented 11 years ago

This has been resolved. Rather than cutting off this list physically I am just hiding any beyond the fifth item. This allows someone to implement some javascript magic to advance the list as you return books if so desired.