<% if (!_.isEmpty(current_loan)) { %>

The system is currently loaned to <%= current_loan.get('recipient_user').toHTML() %>.

<% if (current_loan.get('comment')) { %>

<%- current_loan.get('comment') %>

<% } %> <% } else { %>

The system is not currently loaned.

<% } %>
<% if (can_borrow) { %> <% } %> <% if (can_lend) { %> <% } %> <% if (can_return_loan) { %> <% } %> <% if (!can_borrow && !can_lend && !can_return_loan && window.beaker_current_user) { %> <% } %>