Sha256: caba9099e6fec9360c9871f1a54721fc0db76859f393749955783a798a8d4231
Contents?: true
Size: 381 Bytes
Versions: 3
Compression:
Stored size: 381 Bytes
Contents
- @activities = resource.activities.where(:date => current_month_period(:by_period)).by_project_id(params[:by_project_id]) - if @activities.empty? = boot_alert(t('activities.alerts.empty')) .activities.collection - else = render 'activities/list', :collection => @activities unless @activities.empty? .form-actions = icon_link_to :new, new_person_activity_path(resource)
Version data entries
3 entries across 3 versions & 1 rubygems