small fix
This commit is contained in:
parent
807b7cef84
commit
94d91a4956
|
@ -22,8 +22,8 @@
|
|||
<% else %>
|
||||
<td width="20%"><%= rm.category.title %></td>
|
||||
<% end %>
|
||||
<% user = User.find(rm.create_user_id) rescue "" %>
|
||||
<td width="20%"><%= user.name rescue user.user_name %></td>
|
||||
<% user = User.find(rm.create_user_id) rescue nil %>
|
||||
<td width="20%"><%= user.name if !user.nil? rescue user.user_name %></td>
|
||||
<% if rm.approved %>
|
||||
<td>
|
||||
<a class="btn btn-small btn-info action-btns" data-id="<%= rm.id.to_s %>" href="/admin/admin_modules/install_site_list?id=<%= rm.id.to_s %>" for="installation">Install</a>
|
||||
|
|
Loading…
Reference in New Issue