|
|
|
@ -31,7 +31,7 @@
|
|
|
|
|
<% can_manage = @type == 'p_package' && (admin_or_business? || current_user.id == @user.id) %>
|
|
|
|
|
<div class="project-package-item <%= can_manage ? 'with-operator' : '' %> project-package-<%= object.id %>">
|
|
|
|
|
<div class="item-image">
|
|
|
|
|
<%= image_tag("educoder/project_packages/#{object.category_name}.png") %>
|
|
|
|
|
<%= image_tag("educoder/project_packages/#{object.category}.png") %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item-body">
|
|
|
|
|
<div class="item-head">
|
|
|
|
@ -54,7 +54,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item-category">
|
|
|
|
|
<div class="item-category-item"><%= object.category %></div>
|
|
|
|
|
<div class="item-category-item"><%= object.category_name %></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item-other">
|
|
|
|
|
<div class="item-group item-other-visit">
|
|
|
|
|