small fix
This commit is contained in:
parent
807b7cef84
commit
94d91a4956
|
@ -22,8 +22,8 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
<td width="20%"><%= rm.category.title %></td>
|
<td width="20%"><%= rm.category.title %></td>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% user = User.find(rm.create_user_id) rescue "" %>
|
<% user = User.find(rm.create_user_id) rescue nil %>
|
||||||
<td width="20%"><%= user.name rescue user.user_name %></td>
|
<td width="20%"><%= user.name if !user.nil? rescue user.user_name %></td>
|
||||||
<% if rm.approved %>
|
<% if rm.approved %>
|
||||||
<td>
|
<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>
|
<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